Re: PayPal RESTful API Payment Module
Just wondering if this supports UK at all? Only reason as was using Paypal Payment Pro for many years but had to stop as 3DS 2.0 was enforced for UK, and had to switch to Breathe Pay dedicated card handler on zencart. Which is good, but its happened quite a few times where a customer gets an error and payment goes through but not order (I have to push manually). Which never happened with Paypal Payment Pro I might add, it was 100% or thereabouts reliable. So am keeping eye on this module and it is paypal based, but not noticed anybody UK based using it, but I could be wrong? Thanks in advance.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
HeathenMagic
Just wondering if this supports UK at all? Only reason as was using Paypal Payment Pro for many years but had to stop as 3DS 2.0 was enforced for UK, and had to switch to Breathe Pay dedicated card handler on zencart. Which is good, but its happened quite a few times where a customer gets an error and payment goes through but not order (I have to push manually). Which never happened with Paypal Payment Pro I might add, it was 100% or thereabouts reliable. So am keeping eye on this module and it is paypal based, but not noticed anybody UK based using it, but I could be wrong? Thanks in advance.
It does. The credit-card processing's 3DS support is built in.
I'm aware of a couple of UK/EU users of the payment module. If someone could 'chime in' to let @HeathenMagic know, that would be a big help.
Re: PayPal RESTful API Payment Module
Just checking. Does the setting "Accept Credit Cards?" only apply to one-page checkout as if I set it to false, PayPal still gives the person the option to pay via a credit card rather than log in.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
brittainmark
Just checking. Does the setting "Accept Credit Cards?" only apply to one-page checkout as if I set it to false, PayPal still gives the person the option to pay via a credit card rather than log in.
That setting only affects whether/not a customer is offered a credit-card payment means within Zen Cart. What PayPal offers when a PayPal Wallet request is made is totally up to PayPal.
Re: PayPal RESTful API Payment Module
Interesting failure on a 1.5.8a site. We are not seeing this on any 2.#.# site.
hornedlizardcreationsDOTcom
PHP 7.4
MySQL 5.5.5-10.5.27-MariaDB
Edit Orders 4.7.0
Bootstrap 3.6.0
OPC 2.5.0
PayPal Restful 1.0.5
Square Webpay 1.0.4
Code:
[07-Jan-2025 23:26:15 America/Denver] Request URI: /index.php?main_page=checkout_one_confirmation, IP address: **************, Language id 1
#1 trigger_error() called at [/includes/modules/payment/paypalr.php:556]
#2 paypalr->setConfigurationDisabled() called at [/includes/modules/payment/paypalr.php:1188]
#3 paypalr->getOrderTotalsInfo() called at [/includes/modules/payment/paypalr.php:1093]
#4 paypalr->createPayPalOrder() called at [/includes/modules/payment/paypalr.php:954]
#5 paypalr->pre_confirmation_check() called at [/includes/classes/payment.php:248]
#6 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_one_confirmation/header_php.php:161]
#7 require(/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/index.php:35]
--> PHP Warning: Setting configuration disabled: The required notifications in the order_total.php class were not applied; the payment module cannot place orders. in /includes/modules/payment/paypalr.php on line 556.
Restful is easily reset by turning it back on. However, at the first attempted use, an error is thrown and the mod is turned off.
Turning on the debug for Restful shows the following before the above log file.
Code:
************************************************
2025-01-07 23:25:36: () validateCredentials: Checking ().The curlPost (v1/oauth2/token) request was successful (200).
{
"token_type": "Bearer",
"expires_in": 31312
}
************************************************
************************************************
2025-01-07 23:25:37: () validateCredentials: Checking ().The curlPost (v1/oauth2/token) request was successful (200).
{
"token_type": "Bearer",
"expires_in": 31312
}
************************************************
-------------------------------------------------------------------------------------
Turning on the debug for Restful shows the following after the above log file.
Code:
************************************************
2025-01-07 23:25:56: (checkout_one) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31293 seconds.
************************************************
************************************************
2025-01-07 23:26:05: (checkout_one) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31284 seconds.
************************************************
************************************************
2025-01-07 23:26:15: (checkout_one_confirmation) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31274 seconds.
************************************************
************************************************
2025-01-07 23:26:15: (checkout_one_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
Works fine on my 1.5.8a site with fewer plug-ins:
PHP 7.4
MySQL 5.5.5-10.11.6-MariaDB
Bootstrap 3.6.2
PayPal Restful 1.0.5
Re: PayPal RESTful API Payment Module
When using paypal restful live. I get the following error log when the order is confirmed.
Code:
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /ipn_main_handler.php(352): zen_debug_error_handler()
--> PHP Warning: Undefined array key "payment" in /ipn_main_handler.php on line 352.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /ipn_main_handler.php(353): zen_debug_error_handler()
--> PHP Warning: Undefined array key "shipping" in /ipn_main_handler.php on line 353.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Attempt to read property "delivery" on null in /includes/modules/shipping/freeshipper.php on line 92.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/freeshipper.php on line 92.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/freeshipper.php on line 92.
I know this is connected to the old paypal method which I have set to retired. Have I missed somthing at the paypal end?
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
dbltoe
Interesting failure on a 1.5.8a site. We are not seeing this on any 2.#.# site.
hornedlizardcreationsDOTcom
PHP 7.4
MySQL 5.5.5-10.5.27-MariaDB
Edit Orders 4.7.0
Bootstrap 3.6.0
OPC 2.5.0
PayPal Restful 1.0.5
Square Webpay 1.0.4
Code:
[07-Jan-2025 23:26:15 America/Denver] Request URI: /index.php?main_page=checkout_one_confirmation, IP address: **************, Language id 1
#1 trigger_error() called at [/includes/modules/payment/paypalr.php:556]
#2 paypalr->setConfigurationDisabled() called at [/includes/modules/payment/paypalr.php:1188]
#3 paypalr->getOrderTotalsInfo() called at [/includes/modules/payment/paypalr.php:1093]
#4 paypalr->createPayPalOrder() called at [/includes/modules/payment/paypalr.php:954]
#5 paypalr->pre_confirmation_check() called at [/includes/classes/payment.php:248]
#6 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_one_confirmation/header_php.php:161]
#7 require(/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/index.php:35]
--> PHP Warning: Setting configuration disabled: The required notifications in the order_total.php class were not applied; the payment module cannot place orders. in /includes/modules/payment/paypalr.php on line 556.
Were the required notifications applied to /includes/classes/order_total.php?
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
brittainmark
When using paypal restful live. I get the following error log when the order is confirmed.
Code:
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /ipn_main_handler.php(352): zen_debug_error_handler()
--> PHP Warning: Undefined array key "payment" in /ipn_main_handler.php on line 352.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /ipn_main_handler.php(353): zen_debug_error_handler()
--> PHP Warning: Undefined array key "shipping" in /ipn_main_handler.php on line 353.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Attempt to read property "delivery" on null in /includes/modules/shipping/freeshipper.php on line 92.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/freeshipper.php on line 92.
[09-Jan-2025 11:22:32 Europe/London] Request URI: /sales/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /includes/modules/shipping/freeshipper.php(92): zen_debug_error_handler()
#1 /includes/modules/shipping/freeshipper.php(79): freeshipper->update_status()
#2 /includes/classes/shipping.php(103): freeshipper->__construct()
#3 /includes/classes/shipping.php(50): shipping->initialize_modules()
#4 /ipn_main_handler.php(353): shipping->__construct()
--> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/freeshipper.php on line 92.
I know this is connected to the old paypal method which I have set to retired. Have I missed somthing at the paypal end?
Perhaps disabling IPNs from the PayPal account?
Re: PayPal RESTful API Payment Module
Quote:
Perhaps disabling IPNs from the PayPal account?
Good idea, I assume that this would not allow me to process any historic PayPal transactions?