New Customer vs. update customer methods
I wanted to confirm. If someone is a new customer and I enter their CG params into the update customer method then CG will still create the new customer correct?
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 Jess Pendley on 28 Oct, 2014 07:03 PM
Hi Derreck --
You'll actually need to create the customer record before you can use the update method.
Let me know if you need help with anything else.
Jess Pendley closed this discussion on 28 Oct, 2014 07:03 PM.
Derreck Nassar re-opened this discussion on 29 Oct, 2014 02:56 PM
2 Posted by Derreck Nassar on 29 Oct, 2014 02:56 PM
So update method does not also work to create a new customer if all the
required params are given to the API? I just wanted to confirm so I can
build a fail safe system.
3 Posted by Jess Pendley on 29 Oct, 2014 02:57 PM
That's correct.
4 Posted by Derreck Nassar on 29 Oct, 2014 04:00 PM
What about update subscription vs new customer? Will update subscription
work to create a new customer if the subscription does not already exist?
5 Posted by Jess Pendley on 29 Oct, 2014 04:06 PM
Hi Derreck --
The customer record needs to be created before you can use either the update subscription or update customer method.
6 Posted by Derreck Nassar on 29 Oct, 2014 04:10 PM
Are you sure that is true? Your documentation for Update Sub
<https://cheddargetter.com/developers#update-subscription> says the
following:
Notes*If the customer does not already have a subscription with a valid
credit card, all credit card information is required.* If the plan code
corresponds to a "free" plan, no credit card data is required. If the
customer already has a subscription with a credit card, no credit card
information data is required. In this instance, any subset of credit card
data may be provided. Your preferences still apply for ccCardCode and
ccZip.
7 Posted by Jess Pendley on 29 Oct, 2014 04:22 PM
Yes, I'm sure.
That is only referencing credit card information for existing customer records. If there is no existing customer record, that would not apply.
Marcela Poffald closed this discussion on 11 Apr, 2018 03:55 PM.