Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -240,6 +240,17 @@ |
241 | 241 | 'label' => 'Ideal', |
242 | 242 | 'group' => 'rtbt', |
243 | 243 | 'validation' => array( 'creditCard' => false, ), |
| 244 | + 'issuerids' => array( |
| 245 | + 771 => 'RegioBank', |
| 246 | + 161 => 'Van Lanschot Bankiers', |
| 247 | + 31 => 'ABN AMRO', |
| 248 | + 761 => 'ASN Bank', |
| 249 | + 21 => 'Rabobank', |
| 250 | + 511 => 'Triodos Bank', |
| 251 | + 721 => 'ING', |
| 252 | + 751 => 'SNS Bank', |
| 253 | + 91 => 'Friesland Bank', |
| 254 | + ) |
244 | 255 | ); |
245 | 256 | |
246 | 257 | // eNETS |
— | — | @@ -265,22 +276,32 @@ |
266 | 277 | 'group' => 'rtbt', |
267 | 278 | 'validation' => array( 'creditCard' => false, ), |
268 | 279 | 'issuerids' => array( |
269 | | - 824 => 'Bankhaus Spängler', |
270 | | - 825 => 'Hypo Tirol Bank', |
271 | | - 822 => 'NÖ HYPO', |
272 | | - 823 => 'Voralberger HYPO', |
273 | | - 828 => 'P.S.K.', |
274 | | - 829 => 'Easy', |
275 | | - 826 => 'Erste Bank und Sparkassen', |
276 | | - 827 => 'BAWAG', |
277 | | - 820 => 'Raifeissen', |
278 | | - 821 => 'Volksbanken Gruppe', |
279 | | - 831 => 'Sparda-Bank', |
| 280 | + 824 => 'Bankhaus Spängler', |
| 281 | + 825 => 'Hypo Tirol Bank', |
| 282 | + 822 => 'NÖ HYPO', |
| 283 | + 823 => 'Voralberger HYPO', |
| 284 | + 828 => 'P.S.K.', |
| 285 | + 829 => 'Easy', |
| 286 | + 826 => 'Erste Bank und Sparkassen', |
| 287 | + 827 => 'BAWAG', |
| 288 | + 820 => 'Raifeissen', |
| 289 | + 821 => 'Volksbanken Gruppe', |
| 290 | + 831 => 'Sparda-Bank', |
280 | 291 | ) |
281 | 292 | ); |
282 | 293 | } |
283 | 294 | |
284 | 295 | /** |
| 296 | + * Get the Global Collect Merchant Id |
| 297 | + */ |
| 298 | + public function getGatewayMerchantId() { |
| 299 | + |
| 300 | + global $wgGlobalCollectGatewayMerchantID; |
| 301 | + |
| 302 | + return $wgGlobalCollectGatewayMerchantID; |
| 303 | + } |
| 304 | + |
| 305 | + /** |
285 | 306 | * Get payment method meta |
286 | 307 | * |
287 | 308 | * @param string $payment_method Payment methods contain payment submethods |
— | — | @@ -296,7 +317,7 @@ |
297 | 318 | throw new Exception( $message ); |
298 | 319 | } |
299 | 320 | } |
300 | | - |
| 321 | + |
301 | 322 | /** |
302 | 323 | * Get payment submethod meta |
303 | 324 | * |
— | — | @@ -535,7 +556,7 @@ |
536 | 557 | case 'rtbt_ideal': |
537 | 558 | $this->postdata['payment_product'] = 809; |
538 | 559 | $this->var_map['PAYMENTPRODUCTID'] = 'payment_product'; |
539 | | - //$this->var_map['ISSUERID'] = 'issuer'; |
| 560 | + $this->var_map['ISSUERID'] = 'issuer'; |
540 | 561 | break; |
541 | 562 | |
542 | 563 | case 'rtbt_enets': |