I’m building a website to sell stuff I want to buy. It doesn’t really matter what I’m selling right now – I just need to set up the store so I can sell anything.
Stripe offers a nice system for setting up online payments. Their API is very well documented, if only I was better at using it/reading tech docs.
So far I have setup the front page of my website using HTML5 and have followed their template for creating a payment form. The next step is to create an action that the sends the payment data to my server/stripe’s server/whatever and processes it.
I’m a bit stalled here, because I have their template of the code, but I’m not sure which parts I need to change to make it work for me, and I’m not sure where to put it. I’m also not sure how to test it. Most of all, I’m having trouble keeping my concentration on this project, because I don’t know what to do next or where to find info. Online help for this is pretty thin – Stripe doesn’t have a developer forum, just a chat room and a curated q&a page.
So, I guess my plan is this:
1. Test the payment form that I have made
2. Create the php action
3. Figure out where to put the action
4. Test it
5. Repeat as needed.