-
-
Notifications
You must be signed in to change notification settings - Fork 244
Description
EWay recurring has a weird set up when you can store a token to represent the credit-card of a customer. When you re-use it you are expected to do things differently depending on whether the customer is re-using it or whether you are doing it in their absence (MOTO, or recurring payment don't require the CVN to be re-entered but if the customer is re-using their card they are supposed to re-enter it).
This is causing some difficulty for me on the recurring side - it seems I can set 'transactionType' to 'MOTO' or 'Recurring' and (with some other changes I will need to make) that will work. However, that doesn't seem to be a generic approach - ie. AFAIK there is no standard for setting transactionType that is generic across gateways. Obviously I'm looking for something that I can put into my calling code that doesn't require it to know the vagaries of each gateway.
I feel like there should possibly be a standard function like
$request->setIsCardPresent(FALSE);
or similar.
I note that this probably doesn't warrant being added to the abstract class but at least if there is an agreed approach somewhere I can point to it when I try to get it added to the gateways I use