Skip to content

Commit b0cd1ed

Browse files
committed
Merge pull request #128 from haraldpdl/paypal
fix gateway server detection (reported by ytswy)
2 parents 8924c01 + 9045dea commit b0cd1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

catalog/includes/modules/payment/paypal_pro_hs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ function openTestConnectionDialog() {
949949
$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>' .
950950
'<div id="testConnectionDialog" style="display: none;"><p>';
951951

952-
if ( MODULE_PAYMENT_PAYPAL_PRO_HS_TRANSACTION_SERVER == 'Live' ) {
952+
if ( MODULE_PAYMENT_PAYPAL_PRO_HS_GATEWAY_SERVER == 'Live' ) {
953953
$info .= 'Live Server:<br />' . $this->api_url;
954954
} else {
955955
$info .= 'Sandbox Server:<br />' . $this->api_url;

0 commit comments

Comments
 (0)