I have a client that is going to use Stripe Checkout (https://stripe.com/checkout). We are trying to figure out how we can simply record the sale data into Craft. We know of other plugins that use Stripe, but we really want to use Stripe Checkout as it is great for mobile.
- How can we write data to an entry after the Stripe sale? We would need basic things like Customer Name, Item(s) purchased, Order Total. The items would all be entries in Craft already.
- How can we restrict content viewing based on the items purchased? Basically if you buy Product X which is an entry page of content, how can I secure that entry so only people who have a confirmed purchased can view the template? Since there will be about 10 products, we really can't use User Groups for this. We need the permission to be on the item purchased level.
Any help is greatly appreciated. If we need a custom plugin for this would anyone be interested in making one? Should be pretty simple using the Stripe API I would imagine.