Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
brittainmark
Good idea, I assume that this would not allow me to process any historic PayPal transactions?
Correct assumption.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
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.
Thanks, thats great to know! It seems to work okay so far. Would be nice if any other UK users chimed in, but am expecting it to be more reliable than what I am using now via one of the payment gateway companies.
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?
I tried disabling IPNs from the PayPal account (removed the soap method from PayPal), it made no difference. I managed to stop the error by setting PayPal Express checkout to 'False' rather than 'Retired'. I now don't know if this is a paypal issue or a zen cart issue?
I am using zen cart 2.0.1 php 8.3
Re: PayPal RESTful API Payment Module
Still getting error even with PayPal express set to false. It even occurs when I void a transaction made with PayPal restful.
Thinking of deleting ipn_main_handler.php.
Thoughts?
I'll try again tomorrow to see if it is a delay at paypal removing the soap method.
Re: PayPal RESTful API Payment Module
Somewhere in your PayPal Merchant settings is a URL to which any IPN notifications are to be sent. Clear that out.
Re: PayPal RESTful API Payment Module
Done that. It is under account settings>notification>Instant Payment Notifications I have deleted and disabled. Unless it is not instantaneous, I still have issue.
Will look to see if I can find it anywhere else.
Re: PayPal RESTful API Payment Module
I have turned it off and still seeing messages.
Have just found this on paypal site.
Code:
The IPN message is always sent to your notification URL unless you have disabled the preference to receive IPN
messages. Even though you have not enabled receiving IPN messages in your Profile or you have reset your preference by
turning off IPN messages, PayPal still sends IPN messages to the notification URL you specify for a specific payment. IPN
messages not sent because you disabled the preference in your Profile will appear in the IPN history when you enable
receiving IPNs. After they appear in the history, you can choose whether to resend them.
Does paypal restful send a prefered ipn when a request is issued?
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
brittainmark
I have turned it off and still seeing messages.
Have just found this on paypal site.
Code:
The IPN message is always sent to your notification URL unless you have disabled the preference to receive IPN
messages. Even though you have not enabled receiving IPN messages in your Profile or you have reset your preference by
turning off IPN messages, PayPal still sends IPN messages to the notification URL you specify for a specific payment. IPN
messages not sent because you disabled the preference in your Profile will appear in the IPN history when you enable
receiving IPNs. After they appear in the history, you can choose whether to resend them.
Does paypal restful send a prefered ipn when a request is issued?
PayPal Restful has no IPN interface, neither in its request nor response.
Re: PayPal RESTful API Payment Module
Think I may have to talk to PayPal.
If/When I havea solution, I'll repost.
Thanks for the input.
Re: PayPal RESTful API Payment Module
Not sure, I have completely got to the bottom of it. The issue appears to be that I have log and email turned on in PayPal express checkout. This seems to have stopped the error logs being created.
Paypal are looking to see if why they are still sending IPN messages.