cancel
Showing results for 
Search instead for 
Did you mean: 

Use client-side nonce to create customer profile and payment profile

How to

1. Get Credit Card Nonce on Client then

2. Send to server to (a) create customer profile and add payment profile with a payment method of a nonce.

 

Basically the user will...

 

1. Fil out CC form
2. We get opaque data back to the client
3. We pass the opaque data to the back-end
3. Back-end will either 1. create a customer profile if one doesn't exist and add the opaque data as a payment method OR if a profile exists, it will just add the new opaque data to the existing payment profile

What is the simplest way to go about this?

arc
Member
1 REPLY 1

Also how can I delete a payment method from a payment profile?

arc
Member