thephpleague / omnipay-eway

eWay driver for the Omnipay PHP payment processing library
MIT License
13 stars 17 forks source link

How do we deal with eWay restriction on Purchase action on createCardRequest #25

Open eileenmcnaughton opened 6 years ago

eileenmcnaughton commented 6 years ago

In general the createCardRequest method can do a purchase at the same time in the action is set to 'Purchase'. eWay supports this for the Transparent Redirection, Responsive Shared Page or IFrame payment methods but not the DirectConnection (which is 'RapidDirect' in the omnipay plugin).

The point of the Omnipay plugin is that the calling code should not need to know about these gateway vagaries. We have all the information within the processor to complete the purchase when the action is purchase before returning a response and I think we should do so

eileenmcnaughton commented 6 years ago

(I've added the above into #23)