Javascript SDK Response To Payment Failures

mba90008
Contributor
Contributor

Hi... I'm developing a site using the paypal smart button with javascript sdk / client side integration.  My question is....once the paypal checkout window opens and the client authorizes payment, should their payment fail (ie insufficient funds, stolen card, expired card, etc), what happens? Will paypal handle notifying the client as well as ask for an alternative form of payment all within the checkout window?  If this is the case, and the client doesn't have another form of payment, is it correct that the client's only alternative is to cancel payment which will lead to executing  the onCancel callback?

 

Thanks

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.