2Checkout error

Viewing 12 posts - 1 through 12 (of 12 total)
  • Discussion
  •  petaframe #87

    Hello.

    I purchased your 2checkout plugin in Envato market to use for my subscription service.
    I configured the plugin using my 2checkout account, and tried to checkout with my test product.

    https://www.smartsign.net/shop/subscription-test-1/
    This is the test product, and It keeps showing ‘unauthorized’ error when I try to checkout with my credit card.

    Could you tell me how I can fix this?

     collizo4sky #89

    There are many reasons why you might be experiencing this error. see https://omnipay.io/kb/topic/2checkout-unauthorized-error/

    Are you testing with a sandbox or live API credentials?

     petaframe #95

    I’m testing with live API credentials and I updated API information.
    Today, ‘Bad request – parameter error’ happens.

     collizo4sky #96

    Plsease see this guide https://omnipay.io/kb/topic/2checkout-unauthorized-error/

    And ensure you demo/test mode in 2Checkout payment setting so page is not enabled.

     petaframe #97

    I think all of the API information I filled are correct, and I turned on demo mode.

    Please see the attached screenshots.

    Attachments:
    You must be logged in to view attached files.
     collizo4sky #100

    You can’t be testing with live API credentials and still turn on Demo mode.

    Turn on demo mode if you are using sandbox API.

     petaframe #101

    I don’t understand why I can’t use live API credentials for test.

    In fact, I can’t use 2Checkout Sandbox API, because it doesn’t support Korean Won that their live API supports.

    Please do not care if I’m using live or sandbox API, just tell me why the parameter error happens.

     collizo4sky #102

    > I don’t understand why I can’t use live API credentials for test.

    You can use the live API. But ensure test mode is not checked.

    >Please do not care if I’m using live or sandbox API, just tell me why the parameter error happens.

    The unauthorized error occurs when a couple of things happen.

    1. The live account credentials are being used while testing in sandbox or vice versa
    2. An invalid token is present, or the token was already used on a prior call.

    I am guessing 1 above is the cause of your problem. Also ensure your API credentials are correct in the plugin settings.

     petaframe #103

    Thanks for your reply.

    I checked the credentials and demo settings, but it still shows an error.

    This is the message from console in Chrome browser.
    Does it give you any idea why the error happens?

    success {“validationErrors”:null,”response”:{“type”:”TokenResponse”,”token”:{“token”:”ODY1MmM1MmQtNjA2Ni00ODRkLWIwOTYtMmRlZmFlYTUxY2My”,”dateCreated”:1491715658560},”paymentMethod”:{“cardType”:”VS”,”expMonth”:”02″,”expYear”:”2022″,”cardNum”:”XXXX-XXXX-XXXX-5935″},”errors”:null},”exception”:null}

    Steve,

     collizo4sky #104

    That note on your browser console shows that credit card tokenization is created successfully.
    It is on the server level where the charge is to make thatbis failing.

    Did you add any custom code to your themes functions.php file or a spite specific plugin related to this plugin whatsoever?

    If you indeed added one, remove it.

     petaframe #105

    Thanks for your prompt reply and I finally found the cause of this issue.

    I changed to 2checkout site mode, not on-site, and found that the billing address was not correct for the 2checkout address field.
    When I input the address manually on 2checkout’s checkout page, the billing was successful.

    I don’t know how I can fix this issue on-site mode, so please give me advice for this if you have any.
    I think I need to try other plugins for shipping address’ issue.

    Steve,

     collizo4sky #106

    Sorry there is not more information i can give unless to ensure the billing data are correct.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.