v1.0.2 of the PayPal RESTful payment module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2382
This release contains changes associated with the following GitHub issues:
#13: Full cost breakdown not submitted to PayPal when the order has discounts
#14: Level-3 Data's ships_from_postal_code "doesn't like" intervening blanks
#15: Correct PHP Warning when voiding a transaction.
#16: Show spinner on transition from the webhook to the target page.
#17: "Identify" as a payment module that collects card-data on-site.
#18: Correctly identify 3DS declined transactions; orders were invalidly being created.
#19: Set an error message in the API class when an interface error is detected.
#20: Correct addresses in the "Channel Islands" (and others) being disallowed.
#21: Correct method-/constant-names when a card-declined reason-code isn't recognized.
#22: Adding more "recognized" card-declined reason-codes.
Many thanks to @BillJ for his help in debugging and correcting those 3DS-related issues!
ZenCart v1.5.8a
PayPal checkout (RESTful) v1.0.2
PayPal checkout (RESTful) turns itself off and sends an email: "The required notifications in the order_total.php class were not applied; the payment module cannot place orders. The payment module has been automatically disabled."
Error log:
2024-05-11 18:17:15: (checkout_payment) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 32210 seconds.
************************************************
************************************************
2024-05-11 18:17:21: (checkout_confirmation) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 32204 seconds.
************************************************
************************************************
2024-05-11 18:17:21: (checkout_confirmation) pre_confirmation_check starts ...
We are unable to process your PayPal Checkout payment at this time. Please contact us for assistance.
Did you apply the required core-file changes identified here? https://github.com/lat9/paypalr/wiki...r_total.php%60
You'll need to provide a template-override for the payment-module's .css file. Copy /includes/modules/payment/paypal/PayPalRestful/paypalr.css to /includes/templates/YOUR_TEMPLATE/css/paypalr.css and then edit this section:
to adjust the width. It looks like 15rem should work.Code:.ppr-button-choice label { cursor: pointer; height: 2.5rem; font-weight: bold; width: 11rem; display: inline-block; text-align: center; }
Bookmarks