I have a fairly generic question I am looking to get some advice on.
I am creating a basic Ruby on Rails job application where users can submit jobs and apply for other positons.
What I would like to happen is that when a user submits a job it enters a holding pool (say an awaiting_approval table) that then awaits admin approval.
On admin approval I would like the job to leave the ‘holding pool’ and push into my main jobs table. I would also like at the same time for payment to be taken from the user.
I am keen to not process payment details myself so would be interested to know if anyone has ever managed to implement something like this through Paypal or another payment provider?
Any advice on how I can achieve this setup would be much appreciated!
Ryan Bates did a whole bunch of screencasts on integrating various payment services in Rails. He includes PayPal, ActiveMerchant, Stripe and Spree. It’s worth giving them a watch, as even with libraries like ActiveMerchant there are a lot of little details to be aware of.
My personal choice would be Stripe, given its simplicity and cost.