thephpleague / omnipay-eway

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

Remove card details if TokenCustomerID is provided. #31

Open syanaputra opened 5 years ago

syanaputra commented 5 years ago

Recent eWay update caused the dashboard to use credit card data that is given in the payload instead of using data from token.

By removing card details from the payload and using just TokenCustomerID, we will preserve the correct data from the token.

If we are only paying using token, normally we do not have expiry month and year. omnipay-eway automatically generate the month & year to be 12/99 which causes confusion on eWay dashboard.