It would be nice to be able to restrict the types of cards the user can use for payment.
On a website of mine we do not accept Mastercard as this is too expensive. The only way we can remove this payment type is by hacking the Quickpay module and set the 'cardtypelock' parameter.
It would be nice to integrate the 'cardtypelock' parameter in the administration UI.
Possible values kan be found here:
http://doc.quickpay.dk/appendix/availablecardtypelockvalues.html
This is somewhat advanced usage. I think a text field for the cardtypelock parameter in the administrative UI would do.
Great module, by the way, thanks
Comments
Comment #1
xen commentedIndeed it would.
I'd also like it to integrate with the "Accepted payment methods" setting, that currently only affects the block.
Sadly, the keys used by the block and the identifiers used by cardtypelock is different, and the mapping isn't one to one. Locking to either visa or visa-dk should show a VISA logo, but locking to both should only show one icon.
I'll have to think over how to implement it in a backwards compatible manner.
Comment #2
xen commentedImplemented in the latest -dev.
Please report any issues.
Comment #3
bjaxelsen commentedThank you, this was just what I was looking for :-)