stripe-samples/accept-a-payment

bug? should this .append be a .push

Opened this issue · 0 comments

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.