accept-a-payment
accept-a-payment copied to clipboard
bug? should this .append be a .push
I think this line would break if the if (error)
condition were true, because JS arrays don't have an .append
method.
My IDE was complaining until I changed it.
https://github.com/stripe-samples/accept-a-payment/blob/d7c83fed6f677625f511dd591a3a8dd2849c6b13/payment-element/client/vue-cva/src/components/SrReturn.vue#L28