• Resolved jack85nl

    (@jack85nl)


    I’m using Easy Digital Downloads for my WordPress webshop. After someone buys a item it needs to add credits to the MySQL database. I got this working by adding PHP code to shortcode-receipt.php.

    This is working correct but when I reload the receipt via browser or mail the PHP code will fire again.

    Could someone help me out here? What is the best method to fire PHP code when a payment is successful?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fire PHP when transaction was successful, goes wrong’ is closed to new replies.