Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alejandro Ocampo 67 posts 330 karma points c-trib
    Sep 19, 2019 @ 15:42
    Alejandro Ocampo
    0

    PayPal Integration

    Hi Matt,

    Following the teacommerce docs for the PayPal integration, I've managed to set up all the config properly but the form action is empty.

    I also tried it on the demo site having the same result.

    Any suggestions? Am I missing something here?

    enter image description here

    Thanks,

    Ale

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Sep 20, 2019 @ 06:43
    Matt Brailsford
    0

    Hey Ale,

    My initial suggestion would be to double check the payment providers settings, especially the business setting, making sure there are no spelling mistakes and no leading / trailing spaces in the fields. If the settings are wrong, it will lead to an empty form.

    Matt

  • Alejandro Ocampo 67 posts 330 karma points c-trib
    Sep 23, 2019 @ 14:14
    Alejandro Ocampo
    0

    Hi Matt,

    Using the "NVP/SOAP API integration (Classic)" option from PayPal and selecting the "API Signature" method.

    I have these 3 fields, API Username API Password & Signature, I'm using te account email address for the business key.

    There are no white spaces on any of the fields, the form action is still empty.

    Any other suggestion?

    Thanks!!

    Ale

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Sep 23, 2019 @ 14:36
    Matt Brailsford
    0

    Hey Ale,

    Can you have a look in your log file and see if anything is being logged?

    Matt

  • Alejandro Ocampo 67 posts 330 karma points c-trib
    Sep 23, 2019 @ 15:22
    Alejandro Ocampo
    0

    Hi Matt,

    Sure thing,

     2019-09-23 14:59:08,342 [P4928/D4/T44] WARN  TeaCommerce.PaymentProviders.Classic.PayPal - PayPal() - Error making API request - error code: 10002
    

    I'm using a test business account.

    Docs here: https://www.paypal.com/uk/smarthelp/article/why-did-i-get-api-error-code-10002-ts1030

    I'm checking all those points at the moment, but theoretically, all should be fine, have you seen this before?

    Thanks,

    Ale

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Sep 23, 2019 @ 15:27
    Matt Brailsford
    0

    Hi Ale,

    I've seen it a few times yea, but it's quite a generic error from paypal. It usually means something is miss configured somewhere.

    Go through the link you have and see if there is anything a miss.

    Matt

  • Alejandro Ocampo 67 posts 330 karma points c-trib
    Sep 24, 2019 @ 12:54
    Alejandro Ocampo
    0

    Hi Matt,

    I checked all the recommendation points for this error, but nothing seems to work, I did a curl test to see the error in full and it has to be something on the PayPal configuration, this is the error I'm getting back:

    TIMESTAMP=2019%2d09%2d24T12%3a45%3a35Z&CORRELATIONID=713ab28a2df4c&ACK=Failure&VERSION=98&BUILD=53671288&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Authentication%2fAuthorization%20Failed&L_LONGMESSAGE0=You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call&L_SEVERITYCODE0=Error
    

    Could you confirm PayPal is working for you? If so, what are the steps that you are following, the PayPal site is now diferent to the one used on the teacommerce documentation.

    In the meantime, I'll also ask PayPal.

    Thanks!

    Ale

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Sep 24, 2019 @ 13:07
    Matt Brailsford
    0

    Hi Ale,

    Unfortunately I don't have this setup on any instances I have running. To have all the payment providers setup with be a huge task. Like many of the payment providers, this was contributed by a community member.

    Looking at the error You do not have permissions to make this API call it definitely looks like there is some permission setting in PayPal to allow you to access the API endpoint.

    From a quick search, maybe this would help https://developer.paypal.com/docs/classic/admin/third-party/

Please Sign in or register to post replies

Write your reply to:

Draft