Problem:

When going through the checkout, the customer has to enter the credit card details twice: once in the Magento checkout and then again on the external Ingenico payment page.


Cause:

The reason for this problem can be a OneStepCheckout extension. Due to different handling of the checkout, not all data is transmitted to the Ingenico extension. This results in the BRAND parameter not being saved in Magento and therefore not being transmitted to Ingenico.


Solution (only up to version 15.11.09):

This can be prevented by including the following JavaScript snippet into the checkout template:

$('OPS_CC_BRAND').observe('change', function(e) {
   payment.saveOpsCcBrand();
});

 

This will make sure that the BRAND parameter is saved on every change of the credit card type dropdown.