r100726 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100725‎ | r100726 | r100727 >
Date:18:45, 25 October 2011
Author:jpostlethwaite
Status:ok
Tags:fundraising 
Comment:
Adding issuer_id for real time banking.
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php
@@ -31,6 +31,7 @@
3232 'RETURNURL' => 'returnto', //TODO: Fund out where the returnto URL is supposed to be coming from.
3333 'IPADDRESS' => 'user_ip', //TODO: Not sure if this should be OUR ip, or the user's ip. Hurm.
3434 'PAYMENTPRODUCTID' => 'card_type',
 35+ 'ISSUERID' => 'issuer_id',
3536 'CVV' => 'cvv',
3637 'EXPIRYDATE' => 'expiration',
3738 'CREDITCARDNUMBER' => 'card_num',
@@ -653,7 +654,7 @@
654655 case 'rtbt_ideal':
655656 $this->postdata['payment_product'] = 809;
656657 $this->var_map['PAYMENTPRODUCTID'] = 'payment_product';
657 - $this->var_map['ISSUERID'] = 'issuer';
 658+ $this->var_map['ISSUERID'] = 'issuer_id';
658659 break;
659660
660661 case 'rtbt_enets':
@@ -669,7 +670,7 @@
670671 case 'rtbt_eps':
671672 $this->postdata['payment_product'] = 856;
672673 $this->var_map['PAYMENTPRODUCTID'] = 'payment_product';
673 - //$this->var_map['ISSUERID'] = 'issuer';
 674+ $this->var_map['ISSUERID'] = 'issuer_id';
674675 break;
675676 }
676677 }

Status & tagging log