accept-a-card-payment icon indicating copy to clipboard operation
accept-a-card-payment copied to clipboard

fix: PHP Card exception to newer API reference

Open jackbayliss opened this issue 4 years ago • 4 comments

Changed card exception to newer reference to prevent errors.

jackbayliss avatar Mar 20 '20 14:03 jackbayliss

Thanks, @jackbayliss, however this also requires an upgrade of the Stripe PHP libraries. Do you want to do that also? If not I can open a separate PR and close this one out.

thorsten-stripe avatar Mar 24 '20 06:03 thorsten-stripe

@thorsten-stripe I've updated the stripe/stripe-php library to 7.27. I don't know how I missed it haha.

jackbayliss avatar Mar 24 '20 08:03 jackbayliss

Sorry for the delay, and sorry for only now realising that accessing the error code and message have also changed 🙈 , e.g. $e->getError()->code

thorsten-stripe avatar Mar 30 '20 14:03 thorsten-stripe

@thorsten-stripe No problem, I've changed the error / message accessing to the new method too :)

jackbayliss avatar Mar 30 '20 15:03 jackbayliss