Hi, I'm integrating autumn in my next.js
Hi, I'm integrating autumn in my next.js app and I have one question.
I've already structured a credit system and some plans via the dashboard:
-
-
-
On top of this i wanted to use the rewards feature to let users invite other users and give them a credit reward.
For this i created:
- A free add on product called
- A reward called
- A referral program that on customer redemption gives the referrer and redeeemer the
I see that the included
My intent is that every time one user invites another one each of them gets 20 credits. Does this work this way or do I have to change something?
Thank you for making autumn and for the support, really loooking forward to use this in production!
I've already structured a credit system and some plans via the dashboard:
-
Free plan with 100 credits as default with monthly renew-
Plus plan with 200 credits paid plan with monthly renew-
Premium plan with 300 credits paid plan with monthly renewOn top of this i wanted to use the rewards feature to let users invite other users and give them a credit reward.
For this i created:
- A free add on product called
Referral reward that gives the user 20 credits- A reward called
Invite reward that gives the user the Referral reward product- A referral program that on customer redemption gives the referrer and redeeemer the
Invite reward reward with 10 max redemptionsI see that the included
PricingTable component also shows the free Referral reward , this is not a problem because I can hide it using a custom component but I see that in the api it will be always returned as the id to render it, if someone knows the id can in some way checkout with that id and associate the Referral reward ? Just to know and have a bigger picture.My intent is that every time one user invites another one each of them gets 20 credits. Does this work this way or do I have to change something?
Thank you for making autumn and for the support, really loooking forward to use this in production!
