in reply to How to safely/atomically process payments
As kcott pointed out you have provided very little detail.
stripe.com provide quite detailed docs and by using their support pages you can refine your search.
In Section
Seekers of Perl Wisdom