Title: Adding PayPal PHP code
Last modified: August 20, 2016

---

# Adding PayPal PHP code

 *  [drewwaters](https://wordpress.org/support/users/drewwaters/)
 * (@drewwaters)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-paypal-php-code/)
 * I am joing the Shareasale afilliate program as a merchant and need to add some
   code to my THANK YOU page so that any sales are credited to affiliates.
    I don’t
   know where to add this code… I added it to my page under html but it appears 
   in the page itself. see: [http://handcraftedcoops.com/thank-you](http://handcraftedcoops.com/thank-you)
 * Should I be adding it to Appearance/Editor/Templates?
    I have so many PHP templates
   listed, not sure where to add code.
 * Thanks so much for any assistance
 * Drew
    Brooklyn NY
 * here’s the code I need to add:
 * [Code removed – Please use pastebin.com for long code excerpts]

The topic ‘Adding PayPal PHP code’ is closed to new replies.

## Tags

 * [auto return](https://wordpress.org/support/topic-tag/auto-return/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shareasale](https://wordpress.org/support/topic-tag/shareasale/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [drewwaters](https://wordpress.org/support/users/drewwaters/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/adding-paypal-php-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
