Post by zacharybroyles » Sun Jul 24, 2016 11:40 pm

Hey guys we recently started using Payflow Pro on our site aachristmas.com. We have the Journal theme and when a customer submits the order to us it sometimes takes a LONG time to process. Anyone else know why payflow pro (not iframe) would take such a long time to process and move to the thank you for your order screen?

We were losing a ton of orders according to our abandoned order extension and it's a real problem. Any ideas?


Posts

Joined
Fri Dec 06, 2013 6:24 am

Post by straightlight » Sun Jul 24, 2016 11:49 pm

zacharybroyles wrote:Hey guys we recently started using Payflow Pro on our site aachristmas.com. We have the Journal theme and when a customer submits the order to us it sometimes takes a LONG time to process. Anyone else know why payflow pro (not iframe) would take such a long time to process and move to the thank you for your order screen?

We were losing a ton of orders according to our abandoned order extension and it's a real problem. Any ideas?
If you put your site under maintenance and activate the debug and sandbox mode in the PayPal PayFlow module in the admin, create a test order during checkout and see if you notice recent activities in the error logs afterwards.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by zacharybroyles » Mon Jul 25, 2016 12:29 am

Looks like there are a ton of error logs from customers
2016-07-14 9:41:02 - PHP Notice: Undefined variable: help_start_date in /catalog/view/theme/default/template/payment/pp_payflow.tpl on line 27
2016-07-14 9:41:02 - PHP Notice: Undefined variable: help_issue in catalog/view/theme/default/template/payment/pp_payflow.tpl on line 69
2016-07-14 9:41:02 - PHP Notice: Undefined variable: text_loading in /catalog/view/theme/default/template/payment/pp_payflow.tpl on line 78


Posts

Joined
Fri Dec 06, 2013 6:24 am

Post by straightlight » Mon Jul 25, 2016 12:39 am

zacharybroyles wrote:Looks like there are a ton of error logs from customers
2016-07-14 9:41:02 - PHP Notice: Undefined variable: help_start_date in /catalog/view/theme/default/template/payment/pp_payflow.tpl on line 27
2016-07-14 9:41:02 - PHP Notice: Undefined variable: help_issue in catalog/view/theme/default/template/payment/pp_payflow.tpl on line 69
2016-07-14 9:41:02 - PHP Notice: Undefined variable: text_loading in /catalog/view/theme/default/template/payment/pp_payflow.tpl on line 78
Which OC version are you using?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by zacharybroyles » Mon Jul 25, 2016 12:43 am

2.0.1.1


Posts

Joined
Fri Dec 06, 2013 6:24 am

Post by straightlight » Mon Jul 25, 2016 12:47 am

Confirmed bug even in OC v2.2.0.0 .

In catalog/controller/payment/pp_payflow.php file,

find:

Code: Select all

$data['entry_cc_issue'] = $this->language->get('entry_cc_issue');
add below:

Code: Select all

$data['help_start_date'] = $this->language->get('help_start_date');
		$data['help_issue'] = $this->language->get('help_issue');
In catalog/language/<your_language>/payment/pp_payflow.php file,

go to the very end of the file:

add:

Code: Select all

// Help
$_['help_start_date']			= '(if available)';
$_['help_issue']				= '(for Maestro and Solo cards only)';
Then, find:

Code: Select all

$_['text_wait']					= 'Please wait!';
add after:

Code: Select all

$_['text_loading'] = 'Loading ...';
This should rectify the problem. Ensure to try a test order transaction from checkout one more time afterwards to see if you cannot notice additional errors in the logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by zacharybroyles » Thu Jul 28, 2016 9:49 am

That helped we're still having issues with it timing out at times.


Posts

Joined
Fri Dec 06, 2013 6:24 am
Who is online

Users browsing this forum: No registered users and 5 guests