We are using Magento 1.4.0.1 and trying to implement Partial Transaction functionality on a Checkout page.
The main idea is to use two credit cards for the one checkout process and split Total Order amount between this cards.
We enabled "Allow Partial Payments" in Merchant Account ( http://screencast.com/t/YY5aZcj38TQ ).
Also we tried to use x_allow_partial_auth=TRUE
But in all cases we didn't get Split Tender Id - the key ID value for Partial Transaction.
Here is my first request with the first Credit Card data:
x_version=>3.1
x_delim_data=>TRUE
x_delim_char=>,
x_relay_response=>FALSE
x_invoice_num=>100006004
x_test_request=>TRUE
x_login=>****
x_tran_key=>****
x_type=>AUTH_ONLY
x_method=>CC
x_amount=>2283.76
x_currency_code=>USD
x_first_name=>test
x_last_name=>test
x_company=>
x_address=>test
x_city=>Northbrook
x_state=>Illinois
x_zip=>60062
x_country=>US
x_phone=>(099) 999-9999
x_fax=>
x_cust_id=>
x_customer_ip=>127.0.0.1
x_customer_tax_id=>
x_email=>test@test.ua
x_email_customer=>0
x_merchant_email=>
x_ship_to_first_name=>test
x_ship_to_last_name=>test
x_ship_to_company=>
x_ship_to_address=>test
x_ship_to_city=>Indianapolis
x_ship_to_state=>Indiana
x_ship_to_zip=>46225
x_ship_to_country=>US
x_po_num=>
x_tax=>0
x_freight=>0
x_card_num=>4111111111111111
x_exp_date=>02-2015
x_card_code=>222
x_allow_partial_auth=>TRUE
And here is the response from authprize.net:
response_code=>1
response_subcode=>1
response_reason_code=>1
response_reason_text=>(TESTMODE) This transaction has been approved.
approval_code=>000000
avs_result_code=>P
transaction_id=>0
invoice_number=>100006004
description=>
amount=>2283.76
method=>CC
transaction_type=>auth_only
customer_id=>
md5_hash=>909730813CF4DA5A1A83A370B66F9110
card_code_response_code=>
c_av_vresponse_code=>
Here no any Split Tender Id value.
Not sure what can be wrong...
Thanks for any help, guys!
Solved! Go to Solution.
06-28-2013 05:24 PM
Hi again,
Thanks for quick answers and help.
When we testing Partial transaction feature on a Live authorize.net account with two prepaid cards, we can see that the first card is fully charging order total amount and there no Split Tender Id, Transaction not splitting. It just closing after the first credit card.
I tried:
x_amount
x_prepaid_requested_amount
x_prepaid_balance_on_card
with different variations, but this didn't helped - transaction is closed after first Credit Card authorization (it charging total amount on a first credit card).
As i understand correct: in the first transaction (with the first credit card) there should be Total Order Amount (x_amount) and balance on the first Credit crad, which should be charged like a part of Total Order Amount (x_prepaid_balance_on_card). And in the second transaction there should be charged the other part of Total Order Amount. But this doesn't working for me.
Could you please let me know what variables should I sent to auth.net with the first credit card?
Thank you again.
07-02-2013 10:54 AM
It looks like there no posibility to set an amount manualy for the first Credit Card. Looks like it just checking - if there enough money for cover Total amount - it charging this first card and not sending Split Tender Id. And if there not enough money - authorize.net sending Split Tender Id and waiting for the rest to cover Total Order amount.
Could please someone wellknown in authorize.net confirm this info?
Thanks
07-02-2013 01:41 PM
To get Split ID
Example
x_amount 100, first credit card have $50 credit
With x_allow_partial_Auth = true, first credit card only have $50 credit, it will get a split ID.
Else With x_allow_partial_Auth = false declined
x_amount 10, first credit card have $50 credit
With x_allow_partial_Auth = true, approved
Else With x_allow_partial_Auth = false approved
x_prepaid_requested_amount. x_prepaid_balance_on_card
They are from the response, not the request
07-02-2013 02:02 PM - edited 07-02-2013 02:05 PM
Hi,
Regarding the second case:
x_amount 10, first credit card have $50 credit
With x_allow_partial_Auth = true, approved
Else With x_allow_partial_Auth = false approved
My first credit card have $50 credit, what if I want to charge $4 on the first credit card and $6 on the second?
What parameters sould I use to send this two values ($4 and $6) to authorize.net?
Thanks
07-02-2013 02:17 PM
You have to do 2 separated transaction.
07-02-2013 02:20 PM
Ok, thank you for your help and quick answers.
07-02-2013 02:36 PM
Can you share your code with me? I am facing same issue.
Basically, I am using WordPress + WooCommerce. installed plugin for authorize payment gateway.
it is a rental website and need to security deposit and rent for the product. No need to charge monthly basis. Let's say that Product price : 500 & Security Deposit : 1000.
Transaction Type for Product Price - Captured
Transaction Type for Security Deposit - Authorization Only
But Order total is 1500 and how can I manage it by authorize.net. Please let me know your suggestion.
Thanks in Advanced.
10-14-2019 10:29 PM