6. Set up your checkout button

Two, copy and paste the code from the Peach’s console to your site, right below your Gumroad
checkout button.

After that’s done, fill out your form from step 4 where people sign up to your
refer-a-friend program. Grab the link that’s generated, and visit it. Then
start the Gumroad checkout process. You’ll see a neat little pop up
that you’ve been referred by a friend.

7. Check your discount works

Back in the Peach’s settings screen, click the button that says ‘Send Test Email’.
This will send you an email with a link to purchase your product with the
discount applied. Click that link and check everything looks good!

Congrats!

You’ve finished setting up your refer-a-friend program. Remember to link
to your refer-a-friend sign up form (step 4) from your product’s marketing
so that your customers know they can earn a discount.