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.

Wrong level and return url s2 pro

Home Forums Community Forum Wrong level and return url s2 pro

This topic contains 8 replies, has 4 voices. Last updated by  Cristián Lávaque 4 years, 7 months ago.

Topic Author Topic
Posted: Thursday May 17th, 2012 at 5:45 pm #13811
Ken
Username: susanireland

https://susanireland.com/readymaderesumes/resumes-and-coverletters-signup/?&s2-ssl=yes

I have been using s2member for over a year with no problems. Since the last update I am having a couple issues.

1. My form should register the new user at level 2 but they become a subscriber instead.

2. I also have success=”http://susanireland.com/readymaderesumes/thank-you/” but they are being returned to a 404 at http://susanireland.com/thank-you/

3. The payment notifications are not being sent to the admin but the user is geting the custom new user notification.

4. I’ve been using the wp-affiliate platform and have it integrated using per instructions from the developers site. The sales are no longer being recorded.

I’ve been stuck for a couple days with this so any help would be appreciated. The site is hosted at bluehost.

Thank you!

  • This topic was modified 4 years, 7 months ago by  Ken. Reason: added affiliate tracking info

List Of Topic Replies

Viewing 8 replies - 1 through 8 (of 8 total)
Author Replies
Author Replies
Posted: Friday May 18th, 2012 at 3:13 pm #13896
Eduan
Username: Eduan
Moderator

Hello Susan,
could you please provide the shortcode for the pro-form/button that you are using?

Thanks.

Posted: Friday May 18th, 2012 at 3:52 pm #13898
Ken
Username: susanireland

[s2Member-Pro-PayPal-Form level=”2″ ccaps=”” desc=”Only $36.95″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”susanireland.com|

<?php echo $_COOKIE["ap_id"]?>

” ta=”0″ tp=”0″ tt=”D” ra=”36.95″ rp=”1″ rt=”Y” rr=”0″ rrt=”” rra=”2″ accept=”paypal,visa,mastercard,discover” accept_via_paypal=”paypal” coupon=”” accept_coupons=”0″ default_country_code=”” captcha=”0″ success=”http://susanireland.com/readymaderesumes/thank-you/&#8221; /]

Posted: Friday May 18th, 2012 at 8:47 pm #13933

Hi Susan.

You’re missing the closing quote after the success attribute’s URL, and when I remove the trailing &#8221 from the success URL, I get the page without a 404:

success="http://susanireland.com/readymaderesumes/thank-you/"

I hope that helps. I wonder if that error could have caused the rest of the problems. Could you test?

Also, have logging enabled and post here the entries related to the transaction with the problem, please. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite] Thanks!

Posted: Friday May 18th, 2012 at 8:55 pm #13935

Susan it sounds like that because they are not getting returned to page that exists they not being upgraded to level 2 although they are being registered.

Is it that the success URL should be

http://susanireland.com/readymaderesumes/thank-you&#8221

not

http://susanireland.com/readymaderesumes/thank-you/&#8221

I don’t think the forward slash should be present after thank-you

Hope that helps

Posted: Friday May 18th, 2012 at 9:22 pm #13939

Right Philly, removing the last slash also takes care of the 404 too when using it in the browser.

But the [hilite code]”[/hilite] seems like an error, not something she wants there. If you add a semicolon after it, it’s an entity that represents the double-quote [hilite code]”[/hilite], which is missing from the success attribute right in that place. Actually, if you paste that here outside of the code tags, it’ll be displayed as [hilite mono]”[/hilite].

I’m guessing that she had a parsing problem in her code that may have upset the shortcode for the pro-form.

Posted: Friday May 18th, 2012 at 10:19 pm #13948
Ken
Username: susanireland

The &#8221 is only here in the forum, not in the shortcode on the site. I tried removing the backslash with no luck. i do believe the return snafu is causing the other errors.

I did notice on my last test that the 404 is actually https://susanireland.com/thank-you/ (secure) but my sucess= is http://susanireland.com/readymaderesumes/thank-you/

logs:

rtn:

PHP v5.2.17 :: WordPress® v3.3.2 :: s2Member® v120514 :: s2Member® Pro v120514
Memory 32.85 MB :: Real Memory 33.25 MB :: Peak Memory 33.02 MB :: Real Peak Memory 33.25 MB
susanireland.com/readymaderesumes/?s2member_paypal_return=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=x-preview
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
array (
‘subscr_gateway’ => ‘paypal’,
‘s2member_log’ =>
array (
0 => ‘Test preview of Return Page `proxy_use`: ( `x_preview` ).’,
1 => ‘Redirecting Customer to the Home Page. Test preview of Return Page `proxy_use`: ( `x_preview` ).’,
),
‘s2member_paypal_proxy’ => ‘paypal’,
‘s2member_paypal_proxy_use’ => ‘x-preview’,
)

ipn:

PHP v5.2.17 :: WordPress® v3.3.2 :: s2Member® v120514 :: s2Member® Pro v120514
Memory 36.06 MB :: Real Memory 36.25 MB :: Peak Memory 36.17 MB :: Real Peak Memory 36.25 MB
susanireland.com/readymaderesumes/?s2member_paypal_notify=1
User-Agent:
array (
‘mc_gross’ => ‘36.95’,
‘protection_eligibility’ => ‘Ineligible’,
‘item_number1’ => ‘2::1 Y’,
‘payer_id’ => ‘xxxxx’,
‘tax’ => ‘0.00’,
‘payment_date’ => ’18:39:54 May 18, 2012 PDT’,
‘payment_status’ => ‘Completed’,
‘charset’ => ‘windows-1252’,
‘mc_shipping’ => ‘0.00’,
‘mc_handling’ => ‘0.00’,
‘first_name’ => ‘Ken’,
‘mc_fee’ => ‘1.37’,
‘notify_version’ => ‘3.4’,
‘custom’ => ‘susanireland.com|susanireland|susanireland’,
‘payer_status’ => ‘unverified’,
‘business’ => ‘xxxxx1@aol.com’,
‘num_cart_items’ => ‘1’,
‘mc_handling1’ => ‘0.00’,
‘verify_sign’ => ‘xxxxxxxxxxxxxxxxxxxxxxx’,
‘payer_email’ => ‘xxxxxxxxxxxxxxx@kenduret.com’,
‘mc_shipping1’ => ‘0.00’,
‘tax1’ => ‘0.00’,
‘txn_id’ => ‘xxxxxxxxxxxxxxxxxxxxxx’,
‘payment_type’ => ‘instant’,
‘last_name’ => ‘ret’,
‘item_name1’ => ‘Only $36.95’,
‘receiver_email’ => ‘xxxxxxxxxxx@aol.com’,
‘payment_fee’ => ‘1.37’,
‘quantity1’ => ‘1’,
‘receiver_id’ => ‘xxxxxxxxxxxxxxxxxx’,
‘txn_type’ => ‘cart’,
‘mc_gross_1’ => ‘36.95’,
‘mc_currency’ => ‘USD’,
‘residence_country’ => ‘US’,
‘receipt_id’ => ‘xxxxxxxxxxxxxxx’,
‘transaction_subject’ => ”,
‘payment_gross’ => ‘36.95’,
‘ipn_track_id’ => ‘xxxxxxxxxxxxxxxxxc’,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Sat May 19, 2012 1:39:58 am UTC’,
1 => ‘s2Member POST vars verified through a POST back to PayPal®.’,
2 => ‘s2Member originating domain ( `$_SERVER[“HTTP_HOST”]` ) validated.’,
3 => ‘s2Member `txn_type` identified as ( `cart` ).’,
4 => ‘The `txn_type` does not require any action on the part of s2Member.’,
5 => ‘s2Member Pro handles Cart events on-site, with an IPN proxy.’,
),
‘subscr_gateway’ => ‘paypal’,
)

api:

PHP v5.2.17 :: WordPress® v3.3.2 :: s2Member® v120514 :: s2Member® Pro v120514
Memory 34.14 MB :: Real Memory 34.50 MB :: Peak Memory 34.21 MB :: Real Peak Memory 34.50 MB
susanireland.com/readymaderesumes/resumes-and-coverletters-signup/?s2-ssl=yes
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
——– Input vars: ( Sat May 19, 2012 1:39:51 am UTC ) ——–
array (
‘METHOD’ => ‘DoDirectPayment’,
‘PAYMENTACTION’ => ‘Sale’,
‘EMAIL’ => ‘xxxxxxxxxxxxxxx.com’,
‘FIRSTNAME’ => ‘kn’,
‘LASTNAME’ => ‘dt’,
‘IPADDRESS’ => ’71.xxxxxxxxx’,
‘DESC’ => ‘Only $36.95’,
‘CUSTOM’ => ‘susanireland.com|susanireland|susanireland’,
‘CURRENCYCODE’ => ‘USD’,
‘ITEMAMT’ => ‘36.95’,
‘TAXAMT’ => ‘0.00’,
‘AMT’ => ‘36.95’,
‘L_QTY0’ => ‘1’,
‘L_NAME0’ => ‘Only $36.95’,
‘L_NUMBER0’ => ‘2::1 Y’,
‘L_AMT0’ => ‘36.95’,
‘CREDITCARDTYPE’ => ‘Visa’,
‘ACCT’ => ‘************xxxx’,
‘EXPDATE’ => ’02xxxx’,
‘CVV2’ => ‘9xx’,
‘STREET’ => ‘xxxxxxxxxx’,
‘CITY’ => ‘xxxxxxxxe’,
‘STATE’ => ‘ca’,
‘COUNTRYCODE’ => ‘US’,
‘ZIP’ => ’95xxx’,
‘VERSION’ => ‘71.0’,
‘USER’ => ‘xxxxxxxxxxxxxxxxxx.aol.com’,
‘PWD’ => ‘xxxxxxxxxxxxxxxxxxxx’,
‘SIGNATURE’ => ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxx’,
)
——– Output string/vars: ( Sat May 19, 2012 1:39:54 am UTC ) ——–
TIMESTAMP=2012%2d05%2d19T01%3a39%3a54Z&CORRELATIONID=a3b57a6152ac&ACK=Success&VERSION=71%2e0&BUILD=2929894&AMT=36%2e95&CURRENCYCODE=USD&AVSCODE=Y&CVV2MATCH=M&TRANSACTIONID=xxxxxxxxxxxxxxxxxxxxx
array (
‘TIMESTAMP’ => ‘2012-05-19T01:39:54Z’,
‘CORRELATIONID’ => ‘xxxxxxxxxxxxxxxxxx’,
‘ACK’ => ‘Success’,
‘VERSION’ => ‘71.0’,
‘BUILD’ => ‘xxxxxxxxxxxx’,
‘AMT’ => ‘36.95’,
‘CURRENCYCODE’ => ‘USD’,
‘AVSCODE’ => ‘Y’,
‘CVV2MATCH’ => ‘M’,
‘TRANSACTIONID’ => ‘1xxxxxxxxxxxxxxxxxJ’,
)

Posted: Friday May 18th, 2012 at 11:43 pm #13953

Thanks Susan.

Then your shortcode is like this? It looks fine.

[hilite mono][s2Member-Pro-PayPal-Form level="2" ccaps="" desc="Only $36.95" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="susanireland.com|<?php echo $_COOKIE["ap_id"]?>" ta="0" tp="0" tt="D" ra="36.95" rp="1" rt="Y" rr="0" rrt="" rra="2" accept="paypal,visa,mastercard,discover" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success="http://susanireland.com/readymaderesumes/thank-you/" /][/hilite]

Nothing in the logs jumped at me as wrong…

Could you create a test page with a pro-form using this shortcode, but change the amount to 1 cent please, so I make a test purchase and see what happens during checkout?

And if you could, send the dashboard’s login info so I look at the profile I create, to confirm the role it has, please. s2Member® » Private Contact Form

Thanks!

Posted: Tuesday May 22nd, 2012 at 7:11 pm #14197

Hi Susan.

I finally had a chance to run some tests in your installation. After registration, paid or free, I confirmed what you said:

I did notice on my last test that the 404 is actually https://susanireland.com/thank-you/ (secure) but my sucess= is http://susanireland.com/readymaderesumes/thank-you/

After checking a few things, I noticed that I was logged in right after registration, which is not a normal behavior for WordPress, so I suspected you had customized this with a hack. Went to your must-use plugins list and there was an s2hacks plugin. I’m pretty sure that the problem is there. You must have entered the wrong URL there. I couldn’t verify it because I don’t have access to the file, but you can take care of that.

I hope that helps.

By the way, you can delete the accounts I created (cristian, cristian1, cristian2, cristian3), and the test page you set up for me. Thanks!

Viewing 8 replies - 1 through 8 (of 8 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.