Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -202,7 +202,7 @@ |
203 | 203 | // Credit Cards |
204 | 204 | $this->payment_methods['cc'] = array( |
205 | 205 | 'label' => 'Credit Cards', |
206 | | - 'types' => array( '', 'visa', 'mc', 'amex', 'discover', 'maestro', 'solo', 'laser', 'jcb,', 'cb', ), |
| 206 | + 'types' => array( '', 'visa', 'mc', 'amex', 'discover', 'maestro', 'solo', 'laser', 'jcb', 'cb', ), |
207 | 207 | ); |
208 | 208 | |
209 | 209 | // Direct Debit |
— | — | @@ -630,9 +630,17 @@ |
631 | 631 | |
632 | 632 | $types = array( |
633 | 633 | 'visa' => '1', |
| 634 | + 'american' => '2', |
| 635 | + 'amex' => '2', |
| 636 | + 'american express' => '2', |
634 | 637 | 'mastercard' => '3', |
635 | | - 'american' => '2', |
636 | | - 'discover' => '128' |
| 638 | + 'mc' => '3', |
| 639 | + 'maestro' => '117', |
| 640 | + 'solo' => '118', |
| 641 | + 'laser' => '124', |
| 642 | + 'jcb' => '125', |
| 643 | + 'discover' => '128', |
| 644 | + 'cb' => '130', |
637 | 645 | ); |
638 | 646 | |
639 | 647 | if ( $type === 'response' ) { |