latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

ASAP PLEASE! -Redirect not working…

Home Forums Community Forum ASAP PLEASE! -Redirect not working…

This topic contains 15 replies, has 3 voices. Last updated by  Jason (Lead Developer) 3 years, 11 months ago.

Topic Author Topic
Posted: Wednesday Jan 9th, 2013 at 8:21 am #36742

We have create a custom Thank You page but the redirect after registration is not working. Here is the code inserted into the registration page with the redirect at the end. Please help…we are set to launch tomorrow!!

[s2Member-Pro-AuthNet-Form level=”1″ ccaps=”” desc=”One year TSN membership – $139 USD (Canadian residents add GST / HST)” cc=”USD” custom=”tsnsuccess.com” ta=”0″ tp=”0″ tt=”D” ra=”139.00″ rp=”1″ rt=”Y” rr=”0″ rrt=”” accept=”visa,mastercard” coupon=”” accept_coupons=”0″ default_country_code=”Canada” captcha=”0″ success=”/1769-2/” /]

If we have to use the default Thank you page until we get this sorted out, where can I change the “Thank you, your account has been accepted” blurb?

Thanks!

List Of Topic Replies

Viewing 15 replies - 1 through 15 (of 15 total)
Author Replies
Author Replies
Posted: Thursday Jan 10th, 2013 at 5:25 am #36843
Bruce
Username: Bruce
Staff Member

Hi Mark,

Thanks for reporting this important issue.

s2Member’s processes have many reasons that they might fail to work properly, which can be diagnosed through the log files. Do you have Logging enabled? Please check Dashboard -› s2Member® -› Authorize.Net® Options -› Account Details -› Logging. Once logging is enabled, can you please run a test transaction and post the log info from the files within /s2member-logs/ here, wrapped in <pre></pre> tags, please?

Posted: Thursday Jan 10th, 2013 at 10:49 am #36865

Hi Bruce,

We’re having two issues really:

1. After successful member join > goes to login page > try to login and it goes to our “expired” page.

2. As mentioned, We have create a custom Thank You page but the redirect after registration is not working. Here are the logs of the test transaction you requested (there were two of them – api and ipn. I provided both):

api:

PHP v5.2.17 :: WordPress® v3.5 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 27.54 MB :: Real Memory 28.25 MB :: Peak Memory 27.86 MB :: Real Peak Memory 28.25 MB
tsnsuccess.com/registration/
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
-------- Input vars: ( Thu Jan 10, 2013 3:17:50 pm UTC ) --------
array (
  'x_type' => 'AUTH_CAPTURE',
  'x_method' => 'CC',
  'x_email' => 'dsgsgsdg@dftrer.co',
  'x_first_name' => 'test15',
  'x_last_name' => 'test15',
  'x_customer_ip' => '173.206.227.180',
  'x_invoice_num' => 's2-50eedb9e1fad6',
  'x_description' => 'One year TSN membership - $139 USD (Canadian residents add GST / HST)',
  's2_invoice' => '1::1 Y',
  's2_custom' => 'tsnsuccess.com',
  'x_tax' => '0.13',
  'x_amount' => '1.13',
  'x_card_num' => '************1111',
  'x_exp_date' => '2014-11',
  'x_card_code' => '123',
  'x_address' => 'dagagadga',
  'x_city' => 'gadgagag',
  'x_state' => 'on',
  'x_country' => 'CA',
  'x_zip' => 'm8v4r4',
  'x_version' => '3.1',
  'x_login' => '6H3Dx2Wj93A',
  'x_tran_key' => '3GtL2es7x52HQA9j',
  'x_delim_data' => 'true',
  'x_delim_char' => ',',
  'x_encap_char' => '"',
)
-------- Output string/vars: ( Thu Jan 10, 2013 3:17:50 pm UTC ) --------
"1","1","1","(TESTMODE) This transaction has been approved.","000000","P","0","s2-50eedb9e1fad6","One year TSN membership - $139 USD (Canadian residents add GST / HST)","1.13","CC","auth_capture","","test15","test15","","dagagadga","gadgagag","on","m8v4r4","CA","","","dsgsgsdg@dftrer.co","","","","","","","","","0.13","","","","","8F967375112018AC0F364A815BDFD577","","","","","","","","","","","","","XXXX1111","Visa","","","","","","","","","","","","","","","","","1::1 Y","tsnsuccess.com"
array (
  0 => '1',
  1 => '1',
  2 => '1',
  3 => '(TESTMODE) This transaction has been approved.',
  4 => '000000',
  5 => 'P',
  6 => '0',
  7 => 's2-50eedb9e1fad6',
  8 => 'One year TSN membership - $139 USD (Canadian residents add GST / HST)',
  9 => '1.13',
  10 => 'CC',
  11 => 'auth_capture',
  12 => '',
  13 => 'test15',
  14 => 'test15',
  15 => '',
  16 => 'dagagadga',
  17 => 'gadgagag',
  18 => 'on',
  19 => 'm8v4r4',
  20 => 'CA',
  21 => '',
  22 => '',
  23 => 'dsgsgsdg@dftrer.co',
  24 => '',
  25 => '',
  26 => '',
  27 => '',
  28 => '',
  29 => '',
  30 => '',
  31 => '',
  32 => '0.13',
  33 => '',
  34 => '',
  35 => '',
  36 => '',
  37 => '8F967375112018AC0F364A815BDFD577',
  38 => '',
  39 => '',
  40 => '',
  41 => '',
  42 => '',
  43 => '',
  44 => '',
  45 => '',
  46 => '',
  47 => '',
  48 => '',
  49 => '',
  50 => 'XXXX1111',
  51 => 'Visa',
  52 => '',
  53 => '',
  54 => '',
  55 => '',
  56 => '',
  57 => '',
  58 => '',
  59 => '',
  60 => '',
  61 => '',
  62 => '',
  63 => '',
  64 => '',
  65 => '',
  66 => '',
  67 => '',
  68 => '1::1 Y',
  69 => 'tsnsuccess.com',
  'response_code' => '1',
  'response_subcode' => '1',
  'response_reason_code' => '1',
  'response_reason_text' => '(TESTMODE) This transaction has been approved.',
  'authorization_code' => '000000',
  'avs_response' => 'P',
  'transaction_id' => '0',
  'invoice_number' => 's2-50eedb9e1fad6',
  'description' => 'One year TSN membership - $139 USD (Canadian residents add GST / HST)',
  'amount' => '1.13',
  'method' => 'CC',
  'transaction_type' => 'auth_capture',
  'customer_id' => '',
  'first_name' => 'test15',
  'last_name' => 'test15',
  'company' => '',
  'address' => 'dagagadga',
  'city' => 'gadgagag',
  'state' => 'on',
  'zipcode' => 'm8v4r4',
  'country' => 'CA',
  'phone' => '',
  'fax' => '',
  'email' => 'dsgsgsdg@dftrer.co',
  'ship_to_first_name' => '',
  'ship_to_last_name' => '',
  'ship_to_company' => '',
  'ship_to_address' => '',
  'ship_to_city' => '',
  'ship_to_state' => '',
  'ship_to_zipcode' => '',
  'ship_to_country' => '',
  'tax' => '0.13',
  'duty' => '',
  'freight' => '',
  'tax_exempt' => '',
  'po_number' => '',
  'md5_hash' => '8F967375112018AC0F364A815BDFD577',
  'card_code_response' => '',
  'cavv_response' => '',
  'card_number' => '',
  'card_type' => '',
  'split_tender_id' => '',
  'requested_amount' => '',
  'balance_on_card' => '',
)

ipn:

PHP v5.2.17 :: WordPress® v3.5 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 25.07 MB :: Real Memory 25.50 MB :: Peak Memory 25.19 MB :: Real Peak Memory 25.50 MB
tsnsuccess.com/?s2member_pro_authnet_notify=1
User-Agent: 
array (
  'x_response_code' => '1',
  'x_response_reason_code' => '1',
  'x_response_reason_text' => '(TESTMODE) This transaction has been approved.',
  'x_avs_code' => 'P',
  'x_auth_code' => '000000',
  'x_trans_id' => '0',
  'x_method' => 'CC',
  'x_card_type' => 'Visa',
  'x_account_number' => 'XXXX1111',
  'x_first_name' => 'test15',
  'x_last_name' => 'test15',
  'x_company' => '',
  'x_address' => 'dagagadga',
  'x_city' => 'gadgagag',
  'x_state' => 'on',
  'x_zip' => 'm8v4r4',
  'x_country' => 'CA',
  'x_phone' => '',
  'x_fax' => '',
  'x_email' => 'dsgsgsdg@dftrer.co',
  'x_invoice_num' => 's2-50eedb9e1fad6',
  'x_description' => 'One year TSN membership - $139 USD (Canadian residents add GST / HST)',
  '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.13',
  'x_tax' => '0.13',
  'x_duty' => '0.00',
  'x_freight' => '0.00',
  'x_tax_exempt' => 'FALSE',
  'x_po_num' => '',
  'x_MD5_Hash' => '8F967375112018AC0F364A815BDFD577',
  'x_cvv2_resp_code' => '',
  'x_cavv_response' => '',
  'x_test_request' => 'true',
  's2_invoice' => '1::1 Y',
  's2_custom' => 'tsnsuccess.com',
  's2member_log' => 
  array (
    0 => 'IPN received on: Thu Jan 10, 2013 3:17:50 pm UTC',
    1 => 's2Member POST vars verified with Authorize.Net®.',
    2 => 'Ignoring this IPN. The transaction does NOT require any action on the part of s2Member.',
  ),
)

I have a feeling there won’t be any useful info here.

I am not a developer and it seems my developer is stuck. Can you give me a short list of developers that you know are proficient with s2m?

Posted: Thursday Jan 10th, 2013 at 10:51 am #36866

…unless of course you are willing to have a look yourself and do some real customer service. I would be very appreciative. I am sure these are quick fixes for someone that knows their way around s2m…

Thanks.

Posted: Thursday Jan 10th, 2013 at 1:05 pm #36871

FYI – we updated to the latest version of s2m but the problems have not been corrected. Perhaps they are related – since paid (level 1 ) members are being interpreted by s2m as level 0 they are getting the expired/renew page. Perhaps that is why the custom thank you page redirect is not working either – because successful registrants are being interpreted as level 0 members?

We’ve done the diagnostics recommended previously. Please help. We’ve just about had it with this thing.

Posted: Thursday Jan 10th, 2013 at 4:02 pm #36886

UPDATE:

We have deactivated every conceivable plugin, no change. We even moved the entire installation over to the basic default version WordPress theme to rule out any theme conflict. we still get the issues.

Previously, Bruce went into our s2m backend and found 2 javascript errors which my developer assures me could not possibly be affecting s2m. (See post: http://www.s2member.com/forums/topic/checkout-issues/?qcAC=1#post-36076

At one point before the holidays we had the proper Thank You page coming up and new member login was working fine. Now all of a sudden we are having these issues.

I had our affiliate software people look into this because their software was not tracking sales (clicks are ok). He placed their tracking code into s2m > api > tracking — it is not working either. Clearly some info is not being passed along from the reg form page. affecting: redirect to Thank you, member status and sale tracking.

WE HAVE DONE EVERYTHING WE CAN POSSIBLY DO. You have our login details via previous private email. Please go in and have a look.

Posted: Saturday Jan 12th, 2013 at 4:59 am #37100
Staff Member

Thanks for the heads up on this thread :-)

~ I am reviewing this thread now. I will respond shortly :-)
Thanks for your patience.
Posted: Sunday Jan 13th, 2013 at 12:27 pm #37267
Staff Member

Thanks for your patience.

FYI – we updated to the latest version of s2m but the problems have not been corrected. Perhaps they are related – since paid (level 1 ) members are being interpreted by s2m as level 0 they are getting the expired/renew page. Perhaps that is why the custom thank you page redirect is not working either – because successful registrants are being interpreted as level 0 members?

No, I really don’t think this is the issue.

After a careful review of your report here, I suspect the following issue.

You’ve reported the sale is going through (reflected by your log entries), but the success="" attribute is not working, and the customer is really unable to gain the appropriate access once the sale is completed. So the entire process is not fully functional on your installation yet.

It appears to me that your site is still in TEST mode. Do you require any cookie in order to access this site at the present time (i.e. is the site locked down from public access in any way)?

The underlying issue I believe, is that s2Member’s post-processing routines are not being called upon, due to a connection failure that occurs between the Pro Form, and s2Member’s core PayPal processor, which is what lies underneath all payment gateways integrated with s2Member (including Authorize.Net Pro Forms).

If you look in your logs directory, you should also have a file with this name:
/s2member-logs/paypal-ipn.log

If you don’t (which would be my guess), that’s the problem. You should have this file too.

Please submit a Dashboard login privately so I can run diagnostics on your installation. I’ll be happy to help you resolve this. Please use: s2Member® » Private Contact Form

Posted: Monday Jan 14th, 2013 at 7:12 am #37341
Staff Member

Details received. Thank you!

It appears from your log files that you are running test transactions against a live account that has been placed into TEST mode? Unfortunately, Authorize.Net returns transaction IDs in this mode, always equal to a value of 0, and s2Member will choke on this, which is why you’re experiencing the issues that you’ve reported here.

I’m very sorry about this. I’m going to report this to Authorize.Net again. This has come up in the past, which is why we suggest in your Dashboard, to setup a developer test account instead. Running test transactions against a live account is really a problem for s2Member, because even in TEST mode, s2Member needs to see, at the very least, a fake transaction ID.

Solutions for you…

1. If you’d like to run test transactions, I recommend that you setup a developer test account with Authorize.Net (free), instead of running test transactions against your live account in TEST mode. This problem does not occur when testing against a developer test account.

Setup developer test account here: https://developer.authorize.net/testaccount/
Log into your developer test account here: https://test.authorize.net/

2. Or, you can simply run your test transactions against your live account, but without s2Member being in Sandbox mode. The problems you’re experiencing are occurring only because you’re in TEST mode.

Please let us know if problems persist :-)

Posted: Monday Jan 14th, 2013 at 9:59 pm #37560

Hello Jason,

I have taken our site out of test mode and set transaction amount to $1. I did a test transaction and it still does not redirect to our custom thank you page. I noticed you changed the redirect attribute to “success = “thank you”. This took me to a page not found error. So i changed it back the way it was (to: success=”/1769-2/” /] ) which references the custom thank you page number and it still didn’t work – this time i got one of our site pages but showing a header/footer only (so no page body).

Please have another look now that it is live. Feel free to do transactions as necessary. I will void them after i hear back from you. Please go thru the entire signup and member login process to make sure members are able to access content after payment (the other issue).

Thanks.

Posted: Tuesday Jan 15th, 2013 at 11:17 am #37580
Staff Member

Thanks for your reply :-)

Reviewing your log files. One moment please.

Posted: Tuesday Jan 15th, 2013 at 11:36 am #37581
Staff Member

Thanks for your patience.

This Page (/1769-2/) on your site is protected at Membership Level #1 (or higher), so it’s not going to work as a Thank-You page for new customers. Please make this Page available for public access, then try your test again.

See Page: Thank-You /1769-2/ (Requires Membership Level #1, as configured with s2Member).

I believe the page you are seeing that is blank, is your Membership Options Page. s2Member is protecting Page /1769-2/, so if a brand new customer (who has not logged-in yet — they just finished checkout), is redirected to that Page, s2Member will redirect them again, to your Membership Options Page.

On your installation, your Membership Options Page is empty, so all you’re seeing is your header/footer.

See also: Dashboard -› s2Member® -› General Options -› Membership Options Page

Please let us know if problems persist :-)

Posted: Tuesday Jan 15th, 2013 at 9:16 pm #37688

That doesn’t really make sense since those that pay and join ARE level 1 members – so they are the only ones that should see this page. However, i did change the page to level zero as you suggested and it still didn’t work. Interestingly, the sale was tracked by the affiliate software who’s code is placed on the thank you page. So it must be the thank you page that we are not seeing not the options page as you suggest.

Also, since you’ve been in we are now not seeing the form displayed on our affiliate registration page: http://tsnsuccess.com/affiliate-registration/

I am seriously wondering if this will ever end…

Posted: Wednesday Jan 16th, 2013 at 11:00 am #37755

Update: Further testing has revealed that even though users that go thru successful registration do not see our thank you page, they are able to login as paid members (a step in the right direction!). However, when a member clicks on logout they are taken to a page not found (404) error.

This is something new again. What is with all these redirect errors? These are all items that worked fine in previous tests. Is there some explanation for this?

Posted: Thursday Jan 17th, 2013 at 11:15 am #37884

Hello Jason,

I am hoping today to inspire you to accept stewardship for our issues and committing the necessary attention to put them to rest. All components of our project have been complete for about two weeks now and we have been patiently waiting to launch. Obviously, we cannot do that with these (hopefully minor :) issues outstanding. We are so close, and yet the days and weeks are beginning to drag out. I Realize that you must be a very busy man, often pulled in many directions at once, but at the time of this posting it has been another 48 hours since we heard from you.

We are dependent on you at this point. I implore you to give us the attention that will allow us to be on our way.

Thanks in advance.

Posted: Saturday Jan 19th, 2013 at 5:05 pm #38337
Staff Member

Thanks for the follow-up :-)

That doesn’t really make sense since those that pay and join ARE level 1 members – so they are the only ones that should see this page. However, i did change the page to level zero as you suggested and it still didn’t work.

If you are absolutely sure that only existing Members at Level #1 or higher, will ever reach this Page (and they are always logged into the site when checkout occurs), then yes; it’s fine to leave it protected. If there could potentially be a customer that is currently NOT a Member at Level #1 or higher (or not logged in), the Thank-You page you’ve configured would redirect again, because the customer who is checking out would not have access until checkout is completed and they’ve logged-in.

Also, since you’ve been in we are now not seeing the form displayed on our affiliate registration page: http://tsnsuccess.com/affiliate-registration/

I am seriously wondering if this will ever end…

I’m not seeing a Pro Form on this page when visiting it publicly. Maybe that’s by design.
In either case, I have not adjusted anything on your site. We ran diagnostics only, by request.


Update: Further testing has revealed that even though users that go thru successful registration do not see our thank you page, they are able to login as paid members (a step in the right direction!). However, when a member clicks on logout they are taken to a page not found (404) error.

This is something new again. What is with all these redirect errors? These are all items that worked fine in previous tests. Is there some explanation for this?

I’ve been unable to reproduce this on a clean installation of WordPress. I can confirm the functionality you are attempting to accomplish works properly in an installation of WordPress v3.5 running s2Member and s2Member Pro v130116. Tested today.

I suggest that you continue testing, but do so on a clean installation of WordPress with no other plugins active, and running a default WordPress theme. If you can reproduce the problems you’re reporting in a clean installation of WordPress, please let us know. We take bug reports seriously, but we cannot debug other themes/plugins running in concert with s2Member.

Please see this article for some clarification on this: s2Member® » Support Policy


FYI: The Security Encryption Key you’ve configured for your installation of s2Member® is less than the recommended 60 characters. I suggest that you update this value to prevent unexpected behavior.

Please see: Dashboard -› s2Member® -› General Options -› Security Encryption Key

FYI: You have a corrupted s2Member Pro Form shortcode in your /registration/ page.

[s2Member-Pro-AuthNet-Form level="1" ccaps="" desc="One year TSN membership - $139 USD (Canadian residents add GST / HST)" cc="USD" custom="tsnsuccess.com" ta="0" tp="0" tt="D" ra="1.00" rp="1" rt="Y" rr="0" rrt="" accept="visa,mastercard" coupon="" accept_coupons="0" default_country_code="Canada" captcha="0"

The end of this shortcode has been cut-off. It also does NOT contain the success attribute that you’re reporting problems with. Please regenerate your Pro Form shortcode here:
Dashboard -› s2Member® -› Authorize.Net® Pro Forms

FYI: You have several WordPress Pages that contain raw HTML code, but I’m not seeing any theme/plugin installed that would prevent WordPress content filters from mangling this. If you’re going to use things like JavaScript snippets, etc, in a WordPress Post/Page, I recommend this plugin. Please see: http://wordpress.org/extend/plugins/raw-html/

Please let us know if problems persist after correcting these issues :-)

Viewing 15 replies - 1 through 15 (of 15 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.