ARTICLE AD BOX
I have implemented paypal smart buttons on a modal, then i realized that if open the credit/debit card form and then close the modal to chose another product. The amount that is configurated is still the same as the last product, and i need to close the form and open again.
I just render the buttons on front end and trigger the create order and capture from server side. So what i do is to send a post to the route using the buttons functions.
So my question is that if there is a way to trigger refresh or close that form with code or is better relocate the buttons outise the modal.
