cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Difficulty updating ARB Subscription with php_arb_xml/subscription_update.php

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.

------------------------------------------------------------------------------------------------------------------------------
http://GetPresto.biz | Specializing in Collecting Payments for Online Communities
GetPresto
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Since the expire date is masked, you could change the CC# to something else. like 4012888888881881

View solution in original post

10 REPLIES 10

Did you change the code at all? because if you look at it, the update xml do nothing with the $firstName or $lastName

RaynorC1emen7
Expert

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.

------------------------------------------------------------------------------------------------------------------------------
http://GetPresto.biz | Specializing in Collecting Payments for Online Communities

There is sample xml in the xml doc

http://developer.authorize.net/api/arb/

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.

 

 

 

 

 

 

------------------------------------------------------------------------------------------------------------------------------
http://GetPresto.biz | Specializing in Collecting Payments for Online Communities

ARB required a subscriptions ID, do you mean CIM? then use the CIM doc.

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...

------------------------------------------------------------------------------------------------------------------------------
http://GetPresto.biz | Specializing in Collecting Payments for Online Communities

Then the update subscription xml should be fine but you do need the subscriptionID.  Also cvv code are not saved on authorize.net.

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?

------------------------------------------------------------------------------------------------------------------------------
http://GetPresto.biz | Specializing in Collecting Payments for Online Communities

Since the expire date is masked, you could change the CC# to something else. like 4012888888881881