Index: branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -438,7 +438,8 @@ |
439 | 439 | $headers[] = 'X-VPS-Request-ID:' . $payflow_data['order_id']; |
440 | 440 | |
441 | 441 | $ch = curl_init(); |
442 | | - curl_setopt( $ch, CURLOPT_URL, $payflow_data['testingurl'] ); |
| 442 | + $paypalPostTo = isset ( $wgDonationTestingMode ) ? 'testing' : 'paypal'; |
| 443 | + curl_setopt( $ch, CURLOPT_URL, $payflow_data[ $paypalPostTo ] ); |
443 | 444 | curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers ); |
444 | 445 | curl_setopt( $ch, CURLOPT_USERAGENT, $user_agent ); |
445 | 446 | curl_setopt( $ch, CURLOPT_HEADER, 1 ); |
Property changes on: branches/wmf-deployment/extensions/DonationInterface/donate_interface |
___________________________________________________________________ |
Name: svn:mergeinfo |
446 | 447 | - /branches/REL1_15/phase3/extensions/DonationInterface/donate_interface:51646 |
/trunk/extensions/DonationInterface/donate_interface:56207,56209,56296,56333,56355,58532,58544-58545 |
/trunk/phase3/extensions/DonationInterface/donate_interface:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447 |
447 | 448 | + /branches/REL1_15/phase3/extensions/DonationInterface/donate_interface:51646 |
/trunk/extensions/DonationInterface/donate_interface:56207,56209,56296,56333,56355,58532,58544-58545,58554 |
/trunk/phase3/extensions/DonationInterface/donate_interface:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447 |
Property changes on: branches/wmf-deployment/extensions/DonationInterface |
___________________________________________________________________ |
Name: svn:mergeinfo |
448 | 449 | - /branches/REL1_15/phase3/extensions/DonationInterface:51646 |
/trunk/extensions/DonationInterface:56207,56209,56296,56333,56355,58544-58545 |
/trunk/phase3/extensions/DonationInterface:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447 |
449 | 450 | + /branches/REL1_15/phase3/extensions/DonationInterface:51646 |
/trunk/extensions/DonationInterface:56207,56209,56296,56333,56355,58544-58545,58554 |
/trunk/phase3/extensions/DonationInterface:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447 |