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

xen’s picture

Indeed 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.

xen’s picture

Status: Active » Fixed

Implemented in the latest -dev.

Please report any issues.

bjaxelsen’s picture

Thank you, this was just what I was looking for :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.