Customer pays with Paypal and immediately leaves the website causes him not to get the item
问题 I am using paypal with react-paypal-button-v2 to get payments on my website. I was testing a few things on my Sandbox account and realized that if the customer pays, there is a window of about 3 seconds until the success function fires onSuccess={() => { this.props.handlePaymentComplete(); }} The problem is, if the customer pays and quits my website in that 3 seconds window, he will be charged the money but the function will not fire and therefore his information will not be saved to the DB.