• Hello:

    Thank’s in advance again for the plugin. Paypal checkout worked perfectly while using the sandbox enviroment but I have just changed to production enviroment with my production enviroment API credentials and when trying to checkout, I get this error: SetExpressCheckout failed: (0).

    I have checked the credentials several times…

    Cheers. Kind regards.

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    If you uncomment these two lines in the code:
    https://github.com/strangerstudios/paid-memberships-pro/blob/dev/classes/gateways/class.pmprogateway_paypalexpress.php#L535-L536

    And then test a checkout, it should print out the request it is trying to make to PayPal. Can you copy/paste that here (feel free to obscure URLs) so I can have a look?

    If your credentials are fine, then the other issue that sometimes comes up is if your site name or membership level name as special characters in them. We’ve done some things to prevent these issues, but that would be my first guess to look into.

    Thread Starter manumohedano

    (@manumohedano)

    Hi Jason:

    Thanks for your reply. Here is the output I get:

    &
    AMT=24&
    CURRENCYCODE=EUR&
    PROFILESTARTDATE=2016-10-26T0:0:0&
    BILLINGPERIOD=Year&
    BILLINGFREQUENCY=1&
    AUTOBILLAMT=AddToNextBilling&
    L_BILLINGTYPE0=RecurringPayments&
    DESC=Paypal+%28Cuota+b%C3%A1sica%29+at+Alumni&
    NOTIFYURL=XXXXX
    NOSHIPPING=1&
    L_BILLINGAGREEMENTDESCRIPTION0=Paypal+%28Cuota+b%C3%A1sica%29+at+Alumni&
    L_PAYMENTTYPE0=Any&
    ReturnUrl=XXXXX
    CANCELURL=XXXX
    SOLUTIONTYPE=Sole&
    LANDINGPAGE=Billing

    Thanks and kind regards.

    Plugin Author Jason Coleman

    (@strangerstudios)

    I was able to do an Express Checkout using the same settings are you have (my request params you debugged were the same). There is an accented character in your membership level, and you could try removing that or any special characters from your site name.

    I can’t debug this further without access to your site. If you sign of for paid support and post to our member forums, I can get information to access your site and debug directly there and will be able to work this out for you.

    https://www.paidmembershipspro.com/support/

    Thanks.

    Plugin Author Jason Coleman

    (@strangerstudios)

    PS make sure you are using the latest version of the plugin if you aren’t already. I can imagine ways that older versions would get choked up on that accent where the latest version wouldn’t.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Paypal Express Checkout error’ is closed to new replies.