Page 11 of 27 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 262
  1. #101
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by g2ktcf View Post
    Why would I be getting an expired token? This is me trying to ENABLE the RESTful module.

    Code:
    2024-06-13 08:25:24: () validateCredentials: Checking ().
    TokenCache::clear, clearing cached token.
    The curlPost (v1/oauth2/token) request was unsuccessful.
    {
    "errNum": 401,
    "errMsg": "An expired-token error was received.",
    "curlErrno": 0,
    "name": "n\/a",
    "message": "n\/a",
    "details": "n\/a",
    "debug_id": "n\/a"
    }
    CURL Options: {
    "78": 10,
    "52": false,
    "75": true,
    "74": true,
    "42": 0,
    "19913": true,
    "13": 45,
    "47": true,
    "10002": "https:\/\/api-m.paypal.com\/v1\/oauth2\/token"
    }
    ************************************************
    
    ************************************************
    
    2024-06-13 08:25:24: () validateCredentials: Checking ().
    TokenCache::clear, clearing cached token.
    The curlPost (v1/oauth2/token) request was unsuccessful.
    {
    "errNum": 401,
    "errMsg": "An expired-token error was received.",
    "curlErrno": 0,
    "name": "n\/a",
    "message": "n\/a",
    "details": "n\/a",
    "debug_id": "n\/a"
    }
    CURL Options: {
    "78": 10,
    "52": false,
    "75": true,
    "74": true,
    "42": 0,
    "19913": true,
    "13": 45,
    "47": true,
    "10002": "https:\/\/api-m.paypal.com\/v1\/oauth2\/token"
    }
    ************************************************

    So I have checked to make 100% sure that curl is enabled. This is a live site https://zc157d.dreamhosters.com

    Do not let the zc157d tag confuse you, it is an old sandbox location and I just loaded 2.0.1 into that site.

  2. #102
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,338
    Plugin Contributions
    94

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by g2ktcf View Post
    So I have checked to make 100% sure that curl is enabled. This is a live site https://zc157d.dreamhosters.com

    Do not let the zc157d tag confuse you, it is an old sandbox location and I just loaded 2.0.1 into that site.
    My best guess is that your client-credentials are invalid.

  3. #103
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by lat9 View Post
    My best guess is that your client-credentials are invalid.
    I did find an error, however, now I get a warning that the BRAND NEW CREDENTIALS I just created are invalid.

  4. #104
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by g2ktcf View Post
    I did find an error, however, now I get a warning that the BRAND NEW CREDENTIALS I just created are invalid.

    Interesting that I had to go work on something else for a couple of hours. Came back and got the same error. Submitted a case to PP. Tried one more time and it worked...??? Is there some kind of time lag from setting up a new PP API App before the credentials are live???

  5. #105
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,338
    Plugin Contributions
    94

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by g2ktcf View Post
    Interesting that I had to go work on something else for a couple of hours. Came back and got the same error. Submitted a case to PP. Tried one more time and it worked...??? Is there some kind of time lag from setting up a new PP API App before the credentials are live???
    I've no idea on the time-lag, but happy that you sussed it out.

  6. #106
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Making progress. But I did learn the Paypal's developer tools are really good. I have a new error and the error is fully detailed

    https://drive.google.com/file/d/1K35...usp=drive_link

    Now this is clearly NOT a RESTful PayPal but an account issue at PayPal. But below this link is the full JSON Request and Response. Very nice!

    Now if I can just figure out how to set up my account to take credit cards (never had issues with the older system).

  7. #107
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    I forgot that the new plugin is both Pro AND Express. We do not have a Pro account so we do not take credit cards directly. I set up the plugin to accept them so I appear to be mistaken in that regard. We have to go the PayPal site to enter and use CCs. I was able to verify a new order and refund it completely.

    And no, I do not like how PP responds overall. It now FORCES you to create a PP account. But this particular site does not have a huge amount of traffic right now and we cannot pay monthly fees for PP Pro so this is just how it has to go.

  8. #108
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: PayPal RESTful API Payment Module

    > [PayPal] now FORCES you to create a PP account.

    The workaround would be to use a credit card gateway like Square or Authorize.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #109
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,445
    Plugin Contributions
    11

    Default Re: PayPal RESTful API Payment Module

    Or update to a free business account and use Express Checkout after modifying your account settings.

    https://docs.zen-cart.com/user/payme...card/#comments

    or more detailed https://myzencarthost.com/index.php?...d-Setting.html

  10. #110
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by dbltoe View Post
    Or update to a free business account and use Express Checkout after modifying your account settings.

    https://docs.zen-cart.com/user/payme...card/#comments

    or more detailed https://myzencarthost.com/index.php?...d-Setting.html
    We have these settings and I was forced to create a PP Account during the testing of our new site. Now I can tell you that the entire process was a bit confusing as we were already logged into the PayPal developer platform at the same time. From what I can see, I was forced to create the PP account without any other option.

 

 
Page 11 of 27 FirstFirst ... 91011121321 ... LastLast

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 147
    Last Post: 8 Mar 2025, 06:38 PM
  2. IPower & FirstData API Payment Module
    By spence in forum Addon Payment Modules
    Replies: 6
    Last Post: 7 Jul 2011, 06:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR