I have successfully created a recurring transaction in my sandbox developer account. I am trying to run the sample code that was provided in "php_arb_xml/subscription_update.php." I have defined my variables and I get the following output when I run the script:
update subscription
Response Code:
Response Reason Code: Ok
Response Text: I00001
Subscription Id: Successful.
Data has been written to data.log
The only problem is when I check for the update in the sandbox account, I am not seeing it. I have presented the update with a different firstname value. What could I be missing? Any assistance is much appreciated.
Solved! Go to Solution.
โ03-04-2014 01:29 PM
Since the expire date is masked, you could change the CC# to something else. like 4012888888881881
โ03-05-2014 01:03 PM
Did you change the code at all? because if you look at it, the update xml do nothing with the $firstName or $lastName
โ03-04-2014 03:50 PM
I think I may be off track a bit. I am trying to send a call to the API to update the user's credit card on file. I am going to go look around, but if you have a quick reference I would appreciate it.
โ03-04-2014 04:08 PM
There is sample xml in the xml doc
โ03-05-2014 04:25 AM
I just looked through the xml doc here and still am having trouble finding any sample of how to update the user's credit card on file. It seems that this doc is all in reference to subscriptions rather than user information.
โ03-05-2014 06:12 AM - edited โ03-05-2014 06:19 AM
ARB required a subscriptions ID, do you mean CIM? then use the CIM doc.
โ03-05-2014 06:15 AM
It is ARB. The user is setup with a subscription, we just need a way to update the card associated with the subscription.
Ultimately, I am trying to create a web form on our site that offers the user an opportunity to update their billing information associated with the subscription.
Change Card...
Name on Card...
Card #...
Expiration...
CVV...
โ03-05-2014 06:19 AM - edited โ03-05-2014 06:20 AM
Then the update subscription xml should be fine but you do need the subscriptionID. Also cvv code are not saved on authorize.net.
โ03-05-2014 07:12 AM
Thanks for the notice about the CVV code. I am still stuck on how I can see the change of credit card details. Say for example the user keeps the same card number but the expiration date is updated. I have sent this through to the sandbox account by posting relevant XML data via PHP. This is the subscription_update.php script noted in the title.
The sandbox account then prints that the update was a success. I then log into the sandbox account with authorize.net and do not see any change from the update. That is my question. So to rephrase it, what can I do to send the XML via PHP to actually update the user on my sandbox account's expiration date?
โ03-05-2014 12:35 PM
Since the expire date is masked, you could change the CC# to something else. like 4012888888881881
โ03-05-2014 01:03 PM