Re: PayPal RESTful API Payment Module
Hello. I'm between a bit of a rock and a hard place. I'm still on 1.5.7D (I know), which this module does not support. It also looks like PayPal is no longer accepting signups for Website Payments Pro so I can't use that module. Express works fine for PayPal, but I want to also use PayPal for credit card transactions. Do I have any viable options short of an upgrade? Would the old Payments Standard work? Could I convert the lang file back to the old format and get the new mod to work in 1.5.7? I figured I'd explore these options before looking at something else like Square.
Thanks much.
Re: PayPal RESTful API Payment Module
Unless told to do so, PayPal will try to get folks to open an account by "hiding" the option for credit card use after so many times the card is used on their system without an actual PayPal account.
If you have the right PayPal account, you can use the steps at https://myzencarthost.com/index.php?...d-Setting.html to setup PayPal Express to always present the credit card option.
I would still go with some other form of credit card processing simply to have a backup if one is down. You never know when one might go down. Square was inop for several hours not too long ago. Twitter was down for 43 minutes this morning and T-Mobile for 39.
neat link - https://downforeveryoneorjustme.com/
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
BillJ
Thank you. Log on its way.
I can see from the log that the card failed the CVV check. The customer probably mis-typed it. Despite having an account, they had checked out as a guest using OPC.
I'm not seeing receipt of that log, nor am I able to reproduce on PayPal's sandbox.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
I'm not seeing receipt of that log, nor am I able to reproduce on PayPal's sandbox.
I've just had another one this evening. I'll PM for your e-mail address in case I got it wrong last time.
Re: PayPal RESTful API Payment Module
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!
Re: PayPal RESTful API Payment Module
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:
Quote:
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.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
siliconbug
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:
Did you apply the required core-file changes identified here? https://github.com/lat9/paypalr/wiki...r_total.php%60
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
It works, thank you!
1 Attachment(s)
Re: PayPal RESTful API Payment Module
ZCA Bootstrap Template v3.6.5
The zoom in/out setting of my browser is 100%, but the Discover Card logo isn't in the same row. Is there any setting I can adjust in this module?
Attachment 20607
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
siliconbug
ZCA Bootstrap Template v3.6.5
The zoom in/out setting of my browser is 100%, but the Discover Card logo isn't in the same row. Is there any setting I can adjust in this module?
Attachment 20607
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:
Code:
.ppr-button-choice label {
cursor: pointer;
height: 2.5rem;
font-weight: bold;
width: 11rem;
display: inline-block;
text-align: center;
}
to adjust the width. It looks like 15rem should work.