Created
August 16, 2016 18:02
-
-
Save dashdanw/0ad26401734d2db2b9d231c757d13317 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charge = stripe.Charge.create( | |
amount=amount, | |
currency="usd", | |
application_fee=application_fee, | |
source=order.payment.token, #card_XXXXXXXX | |
#doesnt work as card='card_XXXXXXX' either | |
customer=order.buyer.token, #cust_XXXXXXXX | |
destination=order.seller.token #acct_XXXXXXXX | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charge = stripe.Charge.create( | |
amount=amount, | |
currency="usd", | |
application_fee=application_fee, | |
source=order.payment.token, #card_XXXXXXXX | |
#doesnt work as card='card_XXXXXXX' either | |
customer=order.buyer.token, #cust_XXXXXXXX | |
destination=order.seller.token #acct_XXXXXXXX | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment