Hi All,
We are integrating Authorize.net service for an ARB subscription type payment gateway for our web application with .Net MVC.
Our application provides option to add multiple cards and choose a default card for a subscription. So that a customer can switch his credit card for an ongoing subscription.
We could setup a card as default using update customer payment profile API. But we couldn't change the payment profile information of an ongoing ARB subscription with another already created payment profile.
Seeking help on this.
12-08-2019 11:23 PM
I have just posted a similar ticket, interestingly enough. Watching this thread as well.
12-09-2019 11:45 AM
I figured out how to achieve this. We need to pass the profile ids in the profile section of the subscription.
{ "ARBUpdateSubscriptionRequest": { "merchantAuthentication": { "name": "---------", "transactionKey": "--------" }, "subscriptionId": "------", "subscription": { "profile": { "customerProfileId": "----------", "customerPaymentProfileId": "---------" } } } }
Hope this helps.
12-09-2019 11:31 PM
prk,
Appreciate the reply - This is effectively what I'm doing with the SDK however.. time to break out fiddler...
Thanks
12-10-2019 08:41 AM
"We could setup a card as default using update customer payment profile API. But we couldn't change the payment profile information of an ongoing ARB subscription with another already created payment profile. "
Using ARBUpdateSubscription is the correct way to update the subscription's payment information. Updating or setting the default payment profile for a customer does not affect existing subscriptions.
12-10-2019 09:06 AM - edited 12-10-2019 09:08 AM
Should we be able to pass the same customer profile id used for a subscription along with a new customer payment profile id in order to change the payment on the subscription? (Same with shipping address w/ address id)
Also, should an update to a payment profile that is used for a particular subscription be reflected on further transactions for the subscription?
12-10-2019 09:55 AM
My apologies, running fiddler revealed that I was mapping incorrectly.
12-10-2019 11:35 AM
Were you able to change the payment profile ID of an existing ARB?
01-02-2020 12:20 PM
@pmarangoni I'm really swamped with other work right now and will be for some time. I believe I was able to, however. When I'm able to work on our payment project again, I'll confirm for you. I think the issue was I had mistaken my own mappings to the authorize.net object.
01-02-2020 02:26 PM
I couldn't get it to update. It seems that ARBUpdateSubscriptionRequest is expecting the current Payment Profile ID, and if you pass it a different one, it can't find the record.
01-02-2020 02:31 PM