- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PHP + ARB Getting "This transaction has been approved" message. But, Recurring Subscriptions count is always 0 in Authorize.net account.
Here I am providing My XML Reuest. Please help me to create ARB. I could get any error message in Responce Text.
x_login=XXXXX
&x_tran_key=XXXXXXXXX
&x_relay_response=FALSE
&x_amount=0.01
&x_invoice_num=dbec033
&x_method=create
&x_recurring_billing=1
&x_start_date=2012-09-21
&x_length=1
&x_unit=months
&x_total_occurrences=4
&x_card_num=XXXXXXXXX
&x_card_code=123
&x_exp_date=09-2012
&x_description=+-+Automated+Reccuring+Billing+for+DVD+
&x_ship_to_first_name=venu
&x_ship_to_last_name=j
&x_ship_to_address=hyd
&x_ship_to_city=hyd
&x_ship_to_zip=123456
&x_ship_to_state=Indiana
&x_ship_to_country=United+States&x_first_name=venu
&x_last_name=j
&x_company=
&x_address=hyd
&x_city=hyd
&x_zip=123456
&x_state=Indiana
&x_country=United+States
&x_phone=234324234234
&x_fax=
&x_delim_data=TRUE
&x_delim_char=%7C
&version=3.1
&delim_char=%2C
&delim_data=TRUE
&relay_response=FALSE
&encap_char=%7C
Solved! Go to Solution.
โ09-21-2012 12:31 AM - edited โ09-21-2012 12:32 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ARB documentation is here.
http://developer.authorize.net/api/arb/
Like stymiee said, you are doing AIM as there is NO x_unit, x_start_date, x_total_occurrences, etc. for ARB.
Can you tell us where you see that?
The x_recurring_billing for AIM is informational only. It will NOT create ARB.
โ09-21-2012 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're not using ARB in your code. You're only using AIM. ARB is its own API and you must explicitly call it to create a subscription.
-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger
NEW! Handling Authorize.Net's Webhooks with PHP
Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)
Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
โ09-21-2012 03:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
x_method=create
x_recurring_billing=1
x_start_date=2012-09-21
x_length=1
x_unit=months
x_total_occurrences=4
I hope above syntax will work for ARB. And When I check the Transactin status on Account, it is showing Y for Recurring Billing status(only In Transaction Details).
Please correct me where I am wrong.
Thanks,
Venu Jakku
โ09-21-2012 04:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And
If My syntax/Request XML is wrong, In transaction details why it is showing Recurring Billing is Y status.
Please advice
โ09-21-2012 04:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ARB documentation is here.
http://developer.authorize.net/api/arb/
Like stymiee said, you are doing AIM as there is NO x_unit, x_start_date, x_total_occurrences, etc. for ARB.
Can you tell us where you see that?
The x_recurring_billing for AIM is informational only. It will NOT create ARB.
โ09-21-2012 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you
โ09-24-2012 03:44 AM