Hello s2M,
I am trying to integrate SAS with s2M. My test transaction is not registering with SAS, but the payment goes through. I spoke with the help desk at SAS and they think the issues is the lack of a redirect thank you page.
General Info about SumIgni.com:
- We are using Authorize.net to process payment.
- Once a payment transaction is process on the sumigni.com site, the user is not redirected to a thank you page or login welcome page. Instead the user stays on the Check Out page after processing. A message then appears after the transaction and reads: “Thank you. Your account has been updated. –Please log back in now.” The user is actually already logged in, but the “please log back in now” still appears.
- SAS requires the tracking code to be placed in a thank you page where the user is redirected after processing payment. SAS says:
The code given to you at the bottom of this page, should be placed in the HTML body of your “Thank You” page, which is also referred to as the confirmation, and/or receipt page. This page is on your website – and for Per-Sale programs typically displays a “Thank You” summarizing an order….It is important that this confirmation page can not be accessed without completing a sale or a lead, and also can not be reloaded or refreshed.
- Our site uses an Auto Login hack in h2Hack. Which disables the ability to use the success=”” attribute.
- No Ad Blocker on Firefox or Norton is installed
Questions
- How is the Authorize.net process suppose to work? Is there suppose to be a redirect or just a message?
- How can we disable the message (it doesn’t apply anyway, users are already logged in) and get the user to be redirected to a thank you/summery/etc page? success=”” atr doesn’t work because of the auto login hack.
- How are other s2M Authorize.net SAS users getting this to work?
S2M API/Tracking
Signup Tracking Codes:
<img src="https://shareasale.com/sale.cfm?amount=%%initial%%&tracking=%%subscr_id%%&transtype=SALE&merchantID=45441" width="1" height="1" border="0" />
Modification Tracking Codes:
<img src="https://shareasale.com/sale.cfm?amount=%%initial%%&tracking=%%subscr_id%%&transtype=SALE&merchantID=45441" width="1" height="1" border="0" />
Capability Tracking Codes
<img src="https://shareasale.com/sale.cfm?amount=%%amount%%&tracking=%%txn_id%%&transtype=SALE&merchantID=45441" width="1" height="1" border="0" />
Authnet-ipn.log
PHP v5.2.17 :: WordPress® v3.5 :: s2Member® v130116 :: s2Member® Pro v130116
Memory 35.00 MB :: Real Memory 35.25 MB :: Peak Memory 35.13 MB :: Real Peak Memory 35.25 MB
sumigni.net/?s2member_pro_authnet_notify=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Unable to verify POST vars. This is most likely related to an invalid Authorize.Net® configuration. Please check: s2Member -> Authorize.Net® Options.',
1 => 'If you're absolutely SURE that your Authorize.Net® configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to Authorize.Net® over an HTTPS connection.',
2 => 's2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.',
3 => 'array (
's2member_pro_authnet_notify' => '1',
'x_response_code' => '1',
'x_response_reason_code' => '1',
'x_response_reason_text' => 'This transaction has been approved.',
'x_avs_code' => 'Y',
'x_auth_code' => '044113',
'x_trans_id' => '4944951595',
'x_method' => 'CC',
'x_card_type' => 'Visa',
'x_account_number' => 'XXXX1815',
'x_first_name' => 'api-test',
'x_last_name' => 'api-test',
'x_company' => '',
'x_address' => '6210 e 13th ave',
'x_city' => 'denver',
'x_state' => 'co',
'x_zip' => '80220',
'x_country' => 'US',
'x_phone' => '',
'x_fax' => '',
'x_email' => 'jill@jillmugge.com',
'x_invoice_num' => 's2-50f97184cc314',
'x_description' => '$1.00 USD / Monthly ( recurring charge, for ongoing access )',
'x_type' => 'auth_capture',
'x_cust_id' => '',
'x_ship_to_first_name' => '',
'x_ship_to_last_name' => '',
'x_ship_to_company' => '',
'x_ship_to_address' => '',
'x_ship_to_city' => '',
'x_ship_to_state' => '',
'x_ship_to_zip' => '',
'x_ship_to_country' => '',
'x_amount' => '1.00',
'x_tax' => '0.00',
'x_duty' => '0.00',
'x_freight' => '0.00',
'x_tax_exempt' => 'FALSE',
'x_po_num' => '',
'x_MD5_Hash' => '7AE78CF79EE99FD5C9DC8AF2A689F4B7',
'x_cvv2_resp_code' => 'M',
'x_cavv_response' => '',
'x_test_request' => 'false',
's2_initial_payment' => '1',
's2_invoice' => '1:training_process,training_intro',
's2_custom' => 'sumigni.com',
)',
),
)