03-04-2014 01:29 PM
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:
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 04:08 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-05-2014 06:12 AM - edited 03-05-2014 06:19 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:19 AM - edited 03-05-2014 06:20 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.
Name on Card...
03-05-2014 07:12 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 12:35 PM
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?