setting external payment using the API
hi,
is it possible to set an external payment method using the API?
thanks,
amit
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Marcela Poffald on 25 Jun, 2018 01:55 PM
Hi Amit,
Yes, you can set the payment method to external by setting
subsciption[method]=external
when you add or update the customer. Just for reference, the required params to create a customer on an external payment method are:code
firstName
,lastName
email
subscription[ccFirstName]
,subscription[ccLastName]
(there is no credit card involved, but these fields have to be filled)subscription[planCode]
subscription[method]
subscription[gatewayToken]
The value for the
subscription[gatewayToken]
param for customers on an external method can be whatever you'd like. Some merchants use this param to store information about the customer's record in an external system (like their account number in Quickbooks, for example).Let me know if you have any other questions!
Marcela
Marcela Poffald closed this discussion on 05 Jul, 2018 02:05 PM.