
tomasz at svn
Nov 4, 2009, 10:46 AM
Post #1 of 1
(13 views)
Permalink
|
|
SVN: [58555] branches/wmf-deployment/extensions/DonationInterface
|
|
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58555 Revision: 58555 Author: tomasz Date: 2009-11-04 18:46:08 +0000 (Wed, 04 Nov 2009) Log Message: ----------- Pulling in r58554 Modified Paths: -------------- branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php Property Changed: ---------------- branches/wmf-deployment/extensions/DonationInterface/ branches/wmf-deployment/extensions/DonationInterface/donate_interface/ Property changes on: branches/wmf-deployment/extensions/DonationInterface ___________________________________________________________________ Modified: svn:mergeinfo - /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 + /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 Property changes on: branches/wmf-deployment/extensions/DonationInterface/donate_interface ___________________________________________________________________ Modified: svn:mergeinfo - /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 + /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 Modified: branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php =================================================================== --- branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php 2009-11-04 18:40:56 UTC (rev 58554) +++ branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php 2009-11-04 18:46:08 UTC (rev 58555) @@ -438,7 +438,8 @@ $headers[] = 'X-VPS-Request-ID:' . $payflow_data['order_id']; $ch = curl_init(); - curl_setopt( $ch, CURLOPT_URL, $payflow_data['testingurl'] ); + $paypalPostTo = isset ( $wgDonationTestingMode ) ? 'testing' : 'paypal'; + curl_setopt( $ch, CURLOPT_URL, $payflow_data[ $paypalPostTo ] ); curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers ); curl_setopt( $ch, CURLOPT_USERAGENT, $user_agent ); curl_setopt( $ch, CURLOPT_HEADER, 1 ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
|