Page 1 of 1

bug with paypal pro iframe

Posted: Wed Dec 20, 2017 11:19 pm
by Evilonion
hi
Not sure how to submit a bug etc but basically in 3.02 if you enable paypal pro iframe you get an error due to an additional ',' being in the code.
to fix:

admin/controller/extension/payment/pp_pro_iframe.php

line 268

find:

Code: Select all

					'refund' => $this->url->link('extension/payment/pp_pro_iframe/refund', 'user_token=' . $this->session->data['user_token'] . "&transaction_id=" . $transaction['transaction_id'] . "&order_id=" . $this->request->get['order_id'],),
replace with:

Code: Select all

'refund' => $this->url->link('extension/payment/pp_pro_iframe/refund', 'user_token=' . $this->session->data['user_token'] . "&transaction_id=" . $transaction['transaction_id'] . "&order_id=" . $this->request->get['order_id']),

Re: bug with paypal pro iframe

Posted: Wed Dec 20, 2017 11:23 pm
by straightlight