So i have successfully created a point system that can be purchased using stripe. I have also added the ability to “share” said points upon purchase by adding an input field and if the user wants to, say buy points for another user and give it to them, they will input their email in the field and the user will automatically receive said points.
Now i want to know how i can add another option, aside from inputting the email. Like for example, you bought points then decide to give them out via a claim URL link. Is this possible? Like if i bought 100 points yesterday and decide to give it to another user. I will simply just click a button for that 100 points transaction i did and a unique URL will be copied in the clipboard and i can share the said link to another user for them to claim.
Yes. Just need to structure the app to make it work.
page for claiming should be set to a thing. The thing should be a database custom type. Need a lot of little things to all come together, so I can’t write up the entire ‘how to’ but you should look into how to pass data to a page, how to use URL parameters and/or slug feature and current page thing feature.
Should also look into ‘clean urls’ as well as copy to clipboard plugin.
But yes, what you want to do is completely possible.
Okay, thanks. That’s what i was thinking for the past couple of days actually - creating a unique slug/url for it to work. I was able to create a unique URL in this app and now this is my next challenge.
Will definitely look into these things you mentioned. Thank you, @boston85719 !