Hello @SteveStuartDJ , Hoping you can assist me as well. The problem I am having is now that I have installed the smart buttons; I am no longer receiving notifications to my shopify store. The payment is going to my PayPal but I am then having to email the customer to find out what they ordered because of the different variants. I believe this is the section that is messed up 😞 // Finalize the transaction onApprove: function(data, actions) { return actions.order.capture().then(function(orderData) { // Successful capture! For demo purposes: console.log('Capture result', orderData, JSON.stringify(orderData, null, 2)); var transaction = orderData.purchase_units[0].payments.captures[0]; alert('Transaction '+ transaction.status + ': ' + transaction.id + '\n\nSee console for all available details'); // Replace the above to show a success message within this page, e.g. // const element = document.getElementById('paypal-button-container'); // element.innerHTML = ''; // element.innerHTML = '<h3>Thank you for your payment!</h3>'; // Or go to another URL: actions.redirect('thank_you.html');
... View more