Stripe Transfer API Using Rails for Marketplace -


i'm creating marketplace buyer pays sellers time. once seller marks transaction complete transfer begin.

i have stripe charge & managed accounts set already. i'm confused on how integrate transfer. buyer gets charged, money goes sellers account minus fees.

i thinking of adding boolean called :complete_transaction , set equal false. once user clicks on button makes boolean equal true have method initiates transfer.

not sure if works or how implement it.

i rather go 2 datetime fields completed_at , compensated_at. when seller confirms completion fill in completed_at field , background job looks transactions completed not compensated (paid out you) , makes transfers (updating compensated_at afterwards). makes way easier debug in case problems pop up.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -