Skip to content

Commit

Permalink
Updated PayPal Pro iFrame endpoint to new PayPal requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesallsup committed Aug 24, 2015
1 parent 2dea454 commit 116ee0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upload/catalog/controller/payment/pp_pro_iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public function index() {
$hosted_button_id = $this->constructButtonData($order_info);

if ($this->config->get('pp_pro_iframe_test')) {
$data['url'] = 'https://securepayments.sandbox.paypal.com/cgi-bin/webscr';
$data['url'] = 'https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess';
} else {
$data['url'] = 'https://securepayments.paypal.com/cgi-bin/webscr';
$data['url'] = 'https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess';
}

if ($hosted_button_id) {
Expand Down Expand Up @@ -49,9 +49,9 @@ public function create() {
$data['code'] = $hosted_button_id;

if ($this->config->get('pp_pro_iframe_test')) {
$data['url'] = 'https://securepayments.sandbox.paypal.com/cgi-bin/webscr';
$data['url'] = 'https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess';
} else {
$data['url'] = 'https://securepayments.paypal.com/cgi-bin/webscr';
$data['url'] = 'https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess';
}

$data['error_connection'] = '';
Expand Down

0 comments on commit 116ee0a

Please sign in to comment.