setting external payment using the API

amit weinblum's Avatar

amit weinblum

24 Jun, 2018 06:01 PM

hi,
is it possible to set an external payment method using the API?

thanks,
amit

  1. 1 Posted by Marcela Poffald on 25 Jun, 2018 01:55 PM

    Marcela Poffald's Avatar

    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

  2. Marcela Poffald closed this discussion on 05 Jul, 2018 02:05 PM.

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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM