thephpleague / omnipay-example

Example application for Omnipay PHP payments library
MIT License
100 stars 50 forks source link

Support POST for completeAuthorize and completePurchase #18

Open judgej opened 5 years ago

judgej commented 5 years ago

Many gateways return with a POST to the merchant site, with POST data containing the result of the authorization. Others use GET. So this supports both.

judgej commented 5 years ago

I tested this with Wirecard_CheckoutPage, which has a POST response to completeAuthorize().

Should be a quick and easy merge. I'd do it myself, but always good to get another pair of eyes on it first.