Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 85
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    I've just created a GitHub PR with some UI improvements (https://github.com/lat9/paypalr/pull/3), if you'd like to see before the next beta release.

  2. #12
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Another website, different issue.

    Zen Cart 1.5.8a
    Bootstrap 3.5.2
    PHP 7.4.33

    On step 2 of 3 Payment Information we got the following error on an order.
    Name:  sfMCB1vgGNOIr9GRCEE_CeV2yfskYxrNWiMt4i57lp0PRz6Or.jpg
Views: 249
Size:  23.1 KB

    No log was generated and my next test order went through.

    It looks like part of the argument passed has a string too long.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by mprough View Post
    Another website, different issue.

    Zen Cart 1.5.8a
    Bootstrap 3.5.2
    PHP 7.4.33

    On step 2 of 3 Payment Information we got the following error on an order.
    Name:  sfMCB1vgGNOIr9GRCEE_CeV2yfskYxrNWiMt4i57lp0PRz6Or.jpg
Views: 249
Size:  23.1 KB

    No log was generated and my next test order went through.

    It looks like part of the argument passed has a string too long.

    ~Melanie
    For the beta phase, you should be running with the payment module's logs enabled; otherwise, I've got no breadcrumbs with which to diagnose the issue.

    For that order, what do the ordered products "look like"?

  4. #14
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by lat9 View Post
    For the beta phase, you should be running with the payment module's logs enabled; otherwise, I've got no breadcrumbs with which to diagnose the issue.

    For that order, what do the ordered products "look like"?

    I am PM'ing you the log, I rebuilt the customer's basket & retried the transaction. The order is all downloads.


    Let me know if you need anything else.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  5. #15
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by mprough View Post
    I am PM'ing you the log, I rebuilt the customer's basket & retried the transaction. The order is all downloads.


    Let me know if you need anything else.

    ~Melanie
    Thanks for that. I'll review the base code to see what's up. The order "should be" marked as virtual.

    Update: Replicated.

  6. #16
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by lat9 View Post
    Thanks for that. I'll review the base code to see what's up. The order "should be" marked as virtual.

    Update: Replicated.
    Now corrected on the module's GitHub repo; see this commit for details: https://github.com/lat9/paypalr/comm...25797ecfc4880b

    Thanks @mprough for the validation help, I really appreciate it!

  7. #17
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    v1.0.0-beta5 of PayPal RESTful is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2382

    Full Changelog: v1.0.0-beta4...v1.0.0-beta5

    Please note that I still consider this a beta release!

  8. #18
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Zen Cart 1.5.8a; bootstrap 3.5.2; PHP 7.4.33

    Upon trying a test checkout I get the following error... any idea what this error means?

    2024-01-24 11:47:08: (index) ppr_webhook_main (return) starts.
    {
    "op": "return",
    "token": "01L48731GX020100F",
    "PayerID": "B8KWPQT6BCWP8",
    "main_page": "index"
    }
    2024-01-24 11:47:08: (index) ==> Start getOrderStatus
    TokenCache::get, using saved access-token.The curlGet (v2/checkout/orders/01L48731GX020100F) request was unsuccessful.
    {
    "errNum": 403,
    "errMsg": "",
    "curlErrno": 0,
    "name": "NOT_AUTHORIZED",
    "message": "Authorization failed due to insufficient permissions.",
    "details": [
    {
    "issue": "PERMISSION_DENIED",
    "description": "You do not have permission to access or perform operations on this resource."
    }
    ]
    }
    CURL Options: {
    "78": 10,
    "52": false,
    "75": true,
    "74": true,
    "42": 0,
    "19913": true,
    "13": 45,
    "80": true,
    "10002": "https:\/\/api-m.paypal.com\/v2\/checkout\/orders\/01L48731GX020100F"
    }
    2024-01-24 11:47:08: (index) ==> End getOrderStatus
    2024-01-24 11:47:08: (index) ==> getOrderStatus failed, redirecting to shopping-cart
    ************************************************

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  9. #19
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    @mprough, it's obviously some kind of permissions issue, but the log that you posted doesn't tell the full story. If the webhook's involved, then either the customer paid via paypal and was coming back to confirm and pay or the customer paid via credit card and was sent down a 3DS path for card validation.

  10. #20
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by lat9 View Post
    @mprough, it's obviously some kind of permissions issue, but the log that you posted doesn't tell the full story. If the webhook's involved, then either the customer paid via paypal and was coming back to confirm and pay or the customer paid via credit card and was sent down a 3DS path for card validation.
    I PM'd you the full log. It was my test transaction, regular PayPal was selected. Restful was the only payment module installed. I hit the confirm button, did the paypal login, clicked the pay button on paypal, was returned to the website shopping cart page. The item in my cart was retained, no order was created and I was still logged in.

    Hope this helps =)

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

 

 
Page 2 of 9 FirstFirst 1234 ... LastLast

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 122
    Last Post: 26 Apr 2024, 05:15 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