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.
Printable View
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.
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.
Attachment 20450
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
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!
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!:beta:
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
@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