Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #128 from haraldpdl/paypal
fix gateway server detection (reported by ytswy)
  • Loading branch information
haraldpdl committed Jun 9, 2014
2 parents 8924c01 + 9045dea commit b0cd1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/includes/modules/payment/paypal_pro_hs.php
Expand Up @@ -949,7 +949,7 @@ function openTestConnectionDialog() {
$info = '<p><img src="images/icons/locked.gif" border="0">&nbsp;<a href="javascript:openTestConnectionDialog();" style="text-decoration: underline; font-weight: bold;">' . MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_LINK_TITLE . '</a></p>' .
'<div id="testConnectionDialog" style="display: none;"><p>';

if ( MODULE_PAYMENT_PAYPAL_PRO_HS_TRANSACTION_SERVER == 'Live' ) {
if ( MODULE_PAYMENT_PAYPAL_PRO_HS_GATEWAY_SERVER == 'Live' ) {
$info .= 'Live Server:<br />' . $this->api_url;
} else {
$info .= 'Sandbox Server:<br />' . $this->api_url;
Expand Down

0 comments on commit b0cd1ed

Please sign in to comment.