Had a request from a client that only certain card types are presented to the user when checking out.

The current -dev version allows a customer to use any of the cards that SagePay supports so I've attached a patch that makes this configurable via a setting on the rules config page (where the other settings are).

CommentFileSizeAuthor
accepted_cards.patch2.5 KBmjpa

Comments

ikos’s picture

Assigned: Unassigned » ikos

Thanks for submitting the patch. Looks good - I'll give it some testing and get it committed.

many thanks

Richard

ikos’s picture

Thanks for the patch, committed to latest dev version today.

many thanks

Richard

ikos’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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