Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 5
Registered: ‎05-03-2010
Accepted Solution

PHP + ARB Getting "This transaction has been approved" message

[ Edited ]

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


Accepted Solutions
Solution
Accepted by topic author venujakku
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: PHP + ARB Getting "This transaction has been approved" message

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.

View solution in original post


All Replies
Posts: 1,476
Topics: 33
Kudos: 37
Solutions: 126
Registered: ‎09-14-2009

Re: PHP + ARB Getting "This transaction has been approved" message

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
Member
Posts: 5
Registered: ‎05-03-2010

Re: PHP + ARB Getting "This transaction has been approved" message

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

 

 

Member
Posts: 5
Registered: ‎05-03-2010

Re: PHP + ARB Getting "This transaction has been approved" message

And 

 

If My syntax/Request XML is wrong, In transaction details why it is showing Recurring Billing is Y status.

 

 

Please advice

Solution
Accepted by topic author venujakku
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: PHP + ARB Getting "This transaction has been approved" message

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.

Member
Posts: 5
Registered: ‎05-03-2010

Re: PHP + ARB Getting "This transaction has been approved" message

Thank you