Posts

Showing posts with the label money

Accepting payments with Stripe in APEX, Part 1

Image
I've just been investigating a payment gateway for an APEX application. I already knew about the recent startup Stripe, and their fees seemed just as good (if not better) than the other well-known contenders - I figured there would be a good place to start. Now, I haven't actually worked with the others, but so far, I'm very impressed with the system/API available. From my little bit of research, all the card information will be stored on Stripe's servers, so we need not deal with storing and encrypting customers card information. With that, we are left with this general workflow: Include a form for customers to enter there card information The form gets submitted to Stripe's servers Returned is a token. We use this to then complete the charge For this first part, I'll be focusing on the form. In particular, Stripe provides a form for us that we can re-use. Check out the documentation on the form here -  https://stripe.com/docs/tutorials/checkout . K...