I used this snippet and works very well!
There is only a problem… I have this shortcode in the same page where is the credit balance shortcode.
After the transfer, the credit balance doesn’t update, and if the user refresh the page for view the updated balance, the transfer is repeated. Can you help me to fix?
Thank’s in advance!!