Generous customers want to purchase your software as a gift for a friend or relative? This gifting mechanic is not very hard to implement on top of our platform. Just follow this step by step guide which will run through:
The buyer experience, with custom pre-checkout / post-checkout
The order fulfilment via webhook
The creation of a personalised coupon
The email to the gift recipient, on the right date
There are 2 main requirements you need to take into account:
The product you set up via our dashboard must use the "webhook" fulfilment option, as you'll be delivering the product to the gift recipient rather than the person who paid for it
You'll need to handle the emails to the gift recipient yourself
The buyer experience
You need to collect a couple of details before you call the Paddle checkout:
The date when the gift recipient should get notified and receive their present
The name and email of the gifter
The name and email of the lucky gift recipient
In this example we'll use the
overlay checkout - although the same logic would apply to an inline checkout.
You're going to collect these details in your own form, then hand them over to our checkout via the Paddle.js passthrough: this will allow you to process them in your fulfillement webhook in the next stage.
Notice that we also pass the gifter's email to the checkout - saving them the need to enter it again.
The gifter will then proceed to the Paddle checkout, and pay for the software as usual.
Order fulfilment via webhook
Once the customer has finished paying for the product they want to gift, you will receive a notification from us using the webhook, whose payload will include your pre-checkout custom fields. For example:
Creation of a personalised coupon
The gift recipient will receive a unique, one use coupon which will let them redeem your product without having to pay.
Creating such coupons ahead of time would be painful: this is why you should use our Coupon API to dynamically create the coupon on the fly, once you're received the webhook.
You can learn more about our Coupon API here.
This API call accomplishes a couple of things:
You ask for the coupon to start with the "GIFT" prefix, and let Paddle handle the rest of the coupon's name - which will return e.g GIFT7DHDLDL
You discount 100% of the product
You restrict its use to one time, for the specific product that your customer bought
You mark it as part of the "Gift" group, which will neatly file it in its dedicated section in our dashboard
The API will return the coupon code.
Thank the gifter
Instead of delivering the software the gifter bought, you can just email them a thank you note - or use a custom post-checkout confirmation page, using our post-checkout API.
This allows you to display a confirmation page that you can entirely design and customize, displaying for example:
A receipt (this can have a really nice touch with a personal thank you note - or even a surprise discount coupon to reward them for being generous)
The details of the gift recipient
When they will receive their present
Deliver the gift
You then send an email to the gift recipient, at the date specified by the gifter, explaining why they're receiving a free product and including the redemption instructions and their unique coupon.
We recommend to direct them to a simple redemption page that only displays the gifted product, to minimize any friction or confusion.
To save them the need to copy/paste you can even go one step beyond and tag https://yourwebsite.com?coupon=GIFT7DHDLDL with your actual coupon at the end of the link to your website: we will automatically match that coupon to any checkout opened on that page, as long as the coupon is available for that product.
This gifting implementation showcases several parts of our solution, from the ability to collect any custom information in a pre-checkout UI to the flexibility of dynamic coupon creation.
To recapitulate the whole flow:
The gifter purchases the product and reaches a custom success page thanking them
Upon that purchase, a fulfilment webhook is called
Upon receipt of that webhook, you create a coupon using our Coupon API, which will be sent to the gift recipient
On the gifting date, you email the gift recipient with the coupon and the redemption details
The lucky recipient redeems their gift on our checkout, for free
I hope this is helpful, whether you want to make it part of your usual checkout or intend to use it as a limited campaign around Black Friday or Christmas for example… As usual if you need help or advice with this, don't hesitate to reach out to us!
Looking For Data On How To Ace Black Friday?
Our report will help you find the right discount strategy.