Created
August 22, 2013 17:57
-
-
Save kitwalker12/6310601 to your computer and use it in GitHub Desktop.
Braintree add Payment through Spree API.
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
PUT http://<spree-domain>/api/checkouts/<order_number>?order[payments_attributes][][payment_method_id]=<braintree_payment_id_spree>&order[payments_attributes][][amount]=<amount>&order[payments_attributes][][source_attributes][gateway_payment_profile_id]=<braintree_customer_id>&order[payments_attributes][][source_attributes][gateway_customer_profile_id]=<braintree_payment_id>&order[payments_attributes][][source_attributes][year]=<year>&order[payments_attributes][][source_attributes][month]=<month> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment