Post by mkp007 » Tue Jun 05, 2018 8:09 am

Need help with this one. File location is ../catalog/controller/payment/pp_pro.php

It would appear that it is using the GET NVP method which PayPal will block in a few weeks. Can someone help me confirm that this?

Code: Select all

		if (!$this->config->get('pp_pro_test')) {
			$curl = curl_init('https://api-3t.paypal.com/nvp');
		} else {
			$curl = curl_init('https://api-3t.sandbox.paypal.com/nvp');
		}
https://www.paypal-notice.com/en/Discon ... ssic-APIs/
PayPal currently accepts both GET and POST HTTP methods on our classic NVP/SOAP APIs, used for Express Checkout, Website Payments Pro, MassPay, and Button Manager. Going forward, PayPal will allow the use of the POST request method only for these APIs. This change will not impact the behaviors of our other API products, such as REST and Adaptive APIs.
viewtopic.php?f=20&t=159934&p=725565#p725565

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am

Post by ADD Creative » Tue Jun 05, 2018 5:35 pm

Looking at the code the CURLOPT_POST option is correctly set.

https://github.com/opencart/opencart/bl ... o.php#L159

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by mkp007 » Wed Jun 06, 2018 12:42 am

ADD Creative wrote:
Tue Jun 05, 2018 5:35 pm
Looking at the code the CURLOPT_POST option is correctly set.

https://github.com/opencart/opencart/bl ... o.php#L159
Thank you for the reply. So this API already uses POST?? Just want to confirm.

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am
Who is online

Users browsing this forum: No registered users and 90 guests