Reply
Member
Posts: 9
Registered: ‎09-03-2013
Accepted Solution

Hosted Cim: Change payment type for payment profile

We're using the CIM hosted forms to manage payment profiles, that are used for recurring payments. When user is registering his payment data (addPayment form), he can choose to use a credit card or a bank account. 

 

However, when we are using the editPayment form to let user update his payment details (e.g. on expired card), he will not be able to change the payment type. If user chose CC when creating the profile, he is stuck with this type. He can not choose to use his bank account now. And if the user initially used a bank account, he will not be able to change this profile to use a CC. 

 

Is this a feature of the edit payment form? Or am I missing a parameter in the request to Authorize to allow user to change payment type (CC vs. Bank account)?

 

A workaround would be to give user two options:

 - Edit current CC/Bank account details

 - Use another CC/Bank account

 

Thoughts?


Accepted Solutions
Solution
Accepted by topic author paalare
‎08-21-2015 01:58 AM
Member
Posts: 9
Registered: ‎09-03-2013

Re: Hosted Cim: Change payment type for payment profile

I got this answer from developer@authorize.net:

 

This is a known limitation, your only option would be to delete the existing customerPaymentProfile and add again a new one with the bank account information.

View solution in original post


All Replies
Solution
Accepted by topic author paalare
‎08-21-2015 01:58 AM
Member
Posts: 9
Registered: ‎09-03-2013

Re: Hosted Cim: Change payment type for payment profile

I got this answer from developer@authorize.net:

 

This is a known limitation, your only option would be to delete the existing customerPaymentProfile and add again a new one with the bank account information.

Member
Posts: 4
Registered: ‎07-28-2017

Re: Hosted Cim: Change payment type for payment profile

Sorry to resurrect this old topic, but I can't seem to get the hosted editPayment working as there is no way to send customerPaymentProfileId with getHostedProfilePageRequest. Am I missing something?

Posts: 2,765
Topics: 57
Kudos: 245
Blog Posts: 67
Registered: ‎12-05-2011

Re: Hosted Cim: Change payment type for payment profile

Hello @marshysnackpack

 

To prompt the customer to edit only a single existing profile, you must include the associated profile ID in an additional paymentProfileId or shippingAddressId form POST field.

 

http://developer.authorize.net/api/reference/features/customer_profiles.html#Using_the_Accept_Custom...

 

Richard

Highlighted
Member
Posts: 4
Registered: ‎07-28-2017

Re: Hosted Cim: Change payment type for payment profile

Of course, I figured that out (read "presting the hosted form" paragraph) right after posting. Ugh, I spent at least an hour trying to figure that out.

 

Thank you Richard!