Closed eileenmcnaughton closed 3 years ago
travis issue seems larger than this PR
Note that by contrast Paypal Rest create card request actually requires an object - even when empty - https://github.com/thephpleague/omnipay-paypal/blob/master/src/Message/RestCreateCardRequest.php so it's hard to support both without this
If you want to merge from master into this branch, the tests should now pass.
done & travis is trying again!
And it's green!
Wiping out the whole array is pretty extreme. Only do it if the card array actually has meaningful values. The code that calls this might be trying to support multiple processors so don't assume it 'knows' not to pass an empty card if the processor is sagepay
https://github.com/thephpleague/omnipay-sagepay/issues/157#issuecomment-757448484