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.

Paypal Pro Forms Custom Thank You Page

Home Forums Community Forum Paypal Pro Forms Custom Thank You Page

This topic contains 7 replies, has 3 voices. Last updated by  Raam Dev 4 years, 3 months ago.

Topic Author Topic
Posted: Monday Sep 10th, 2012 at 1:05 pm #24764

I’m using Paypal Pro Forms for Free Subscribers + 4 levels of subscription. I need a custom thank you page, so I added the success=”https://mysite.com/checkout-thank-you/” shortcode attribute to all five levels. This works perfectly for the Free Subscribers, but for some reason it does not on the 4 paid levels. They simply reload the form with the success message.

Shortcode: [s2Member-Pro-PayPal-Form success="https://legacymovement.net/checkout-thank-you/?email=%%user_email%%&fname=%%user_first_name%%" level="3" ccaps="" desc="SMB Owners Signup » $0.50 USD / Monthly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="legacymovement.net" ta="0" tp="0" tt="D" ra="0.50" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

Any help would be greatly appreciated!

Brian

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Tuesday Sep 11th, 2012 at 12:04 am #24836
Raam Dev
Username: Raam
Staff Member

Hi Brian,

Have you double-checked your IPN and PDT Auto-Return configuration in PayPal?

Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration
Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration

Posted: Tuesday Sep 11th, 2012 at 8:55 am #24884

Thanks for the quick reply Raam,

Just double checked the settings and corrected an http that needed to be https in the return URL on Paypal. Ran another test transaction for $0.50 and still have the issue.

Not sure if it makes a difference, but I’m using the shortcode in a custom buddypress register.php template like so…

The idea being, they come to the /register page, select the account type they’d like from a drop down, then jQuery un-hides the appropriate Pro Form. So when they are not properly redirected to my custom thank you page and instead the /register page reloads, the success message is hidden from view.

I also read about creating my own /paypal-return.php file in my theme. Should I just go that route instead?

Posted: Wednesday Sep 12th, 2012 at 7:42 am #24984

Hi Brian.

The idea being, they come to the /register page, select the account type they’d like from a drop down, then jQuery un-hides the appropriate Pro Form.

Pro-forms don’t work properly if there’s more than one in a page, it may be that you’re having that problem. Even if the others are hidden, they’re still on the same page. Could you try a single pro-form for a paid level in a test page?

Posted: Wednesday Sep 12th, 2012 at 12:15 pm #25031

I set up a new test page in WP and the only thing I put in it was this shortcode…

[s2Member-Pro-PayPal-Form success="https://legacymovement.net/checkout-thank-you/?email=%%user_email%%&fname=%%user_first_name%%" level="3" ccaps="" desc="SMB Owners Signup » $0.50 USD / Monthly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="legacymovement.net" ta="0" tp="0" tt="D" ra="0.50" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

This fixed a separate js issue of the Card Start Date field always showing, so I will definitely move each form to a separate page, however I still did not get redirected to my custom thank you page.

Posted: Thursday Sep 13th, 2012 at 1:16 am #25112
Raam Dev
Username: Raam
Staff Member

Hi Brian,

Have you enabled logging (Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging)? It might be a good idea at this point to check the logs and make sure the s2Member is processing the redirect.

If s2Member is processing the redirect, then I suspect another plugin (or perhaps some custom JS somewhere) is conflicting with s2Member and preventing things from working as expected.

Posted: Thursday Sep 13th, 2012 at 9:51 am #25169

Checked the logs for that transaction and here’s what I’ve got, sensitive info replaced.

Paypal-Payflow-API

PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 38.44 MB :: Real Memory 39.00 MB :: Peak Memory 38.58 MB :: Real Peak Memory 39.00 MB
legacymovement.net/pro-form-test/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
——– Input vars: ( Wed Sep 12, 2012 1:13:43 pm UTC ) ——–
array (
‘TRXTYPE’ => ‘R’,
‘ACTION’ => ‘A’,
‘EMAIL’ => ‘dummy@gmail.com’,
‘FIRSTNAME’ => ‘Joe’,
‘LASTNAME’ => ‘Somebody’,
‘CLIENTIP’ => ‘12.34.56.78’,
‘DESC’ => ‘SMB Owners Signup » $0.50 USD / Monthly ( recurring charge, for ongoing access )’,
‘BA_DESC’ => ‘SMB Owners Signup » $0.50 USD / Monthly ( recurring charge, for ongoing access )’,
‘PROFILENAME’ => ‘1350090823:0 D:1 M~legacymovement.net~3’,
‘OPTIONALTRX’ => ‘S’,
‘OPTIONALTRXAMT’ => ‘0.50’,
‘FAILEDOPTIONALTRXACTION’ => ‘CancelOnFailure’,
‘FAILEDINITAMTACTION’ => ‘CancelOnFailure’,
‘CURRENCY’ => ‘USD’,
‘AMT’ => ‘0.50’,
‘TAXAMT’ => ‘0.00’,
‘MAXFAILPAYMENTS’ => ‘2’,
‘AUTOBILLOUTSTANDINGAMT’ => ‘AddToNextBilling’,
‘START’ => ‘10132012’,
‘PAYPERIOD’ => ‘MONT’,
‘TERM’ => ‘0’,
‘TENDER’ => ‘C’,
‘ACCT’ => ‘***********1003’,
‘EXPDATE’ => ‘1234’,
‘CVV2’ => ‘1234’,
‘STREET’ => ‘123 Main St’,
‘CITY’ => ‘Atlanta’,
‘STATE’ => ‘GA’,
‘COUNTRY’ => ‘US’,
‘ZIP’ => ‘12345’,
‘VERBOSITY’ => ‘HIGH’,
‘USER’ => ‘user’,
‘PARTNER’ => ‘PayPal’,
‘VENDOR’ => ‘user’,
‘PWD’ => ‘pwd’,
)
——– Output string/vars: ( Wed Sep 12, 2012 1:13:46 pm UTC ) ——–
RESULT=0&RPREF=RTY59F6EE7C7&PROFILEID=RP0000000009&RESPMSG=Approved&TRXRESULT=0&TRXPNREF=EREP7A1AC035&TRXRESPMSG=Approved&AUTHCODE=111111&AVSADDR=Y&AVSZIP=Y&CVV2MATCH=Y&PPREF=09705386TW018454G&CORRELATIONID=a0b712d1cfb08&PROCAVS=Y&PROCCVV2=M&TRANSTIME=2012-09-12 06:13:43&FIRSTNAME=Joe&LASTNAME=Somebody&AMT=0.50&ACCT=1003&EXPDATE=1234&CARDTYPE=3&IAVS=N
array (
‘RESULT’ => ‘0’,
‘RPREF’ => ‘RTY59F6EE7C7’,
‘PROFILEID’ => ‘RP0000000009’,
‘RESPMSG’ => ‘Approved’,
‘TRXRESULT’ => ‘0’,
‘TRXPNREF’ => ‘EREP7A1AC035’,
‘TRXRESPMSG’ => ‘Approved’,
‘AUTHCODE’ => ‘111111’,
‘AVSADDR’ => ‘Y’,
‘AVSZIP’ => ‘Y’,
‘CVV2MATCH’ => ‘Y’,
‘PPREF’ => ‘09705386TW018454G’,
‘CORRELATIONID’ => ‘a0b712d1cfb08’,
‘PROCAVS’ => ‘Y’,
‘PROCCVV2’ => ‘M’,
‘TRANSTIME’ => ‘2012-09-12 06:13:43’,
‘FIRSTNAME’ => ‘Joe’,
‘LASTNAME’ => ‘Somebody’,
‘AMT’ => ‘0.50’,
‘ACCT’ => ‘1003’,
‘EXPDATE’ => ‘1234’,
‘CARDTYPE’ => ‘3’,
‘IAVS’ => ‘N’,
)

Paypal Payflow IPN

PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 41.22 MB :: Real Memory 41.50 MB :: Peak Memory 41.36 MB :: Real Peak Memory 41.50 MB
legacymovement.net/wp-cron.php?doing_wp_cron=1347375864.5976219177246093750000
User-Agent: WordPress/3.4.1; https://legacymovement.net
array (
‘RESULT’ => ‘0’,
‘RPREF’ => ‘RTY59F647951’,
‘PROFILEID’ => ‘RP0000000008’,
‘STATUS’ => ‘ACTIVE’,
‘PROFILENAME’ => ‘1350010715:0 D:1 M~legacymovement.net~3’,
‘START’ => ‘10122012’,
‘TERM’ => ‘0’,
‘NEXTPAYMENT’ => ‘10122012’,
‘PAYPERIOD’ => ‘MONT’,
‘FREQUENCY’ => ‘1’,
‘TENDER’ => ‘C’,
‘AMT’ => ‘0.50’,
‘ACCT’ => ‘XXXXXXXXXXXXXXX’,
‘EXPDATE’ => ‘1234’,
‘AGGREGATEAMT’ => ‘0.00’,
‘AGGREGATEOPTIONALAMT’ => ‘0.50’,
‘MAXFAILPAYMENTS’ => ‘2’,
‘NUMFAILPAYMENTS’ => ‘0’,
‘RETRYNUMDAYS’ => ‘2’,
‘EMAIL’ => ‘dummy@gmail.com’,
‘NAME’ => ‘Joe’,
‘LASTNAME’ => ‘Somebody’,
‘STREET’ => ‘123 Main St’,
‘CITY’ => ‘Atlanta’,
‘STATE’ => ‘GA’,
‘ZIP’ => ‘12345’,
‘COUNTRY’ => ‘US’,
‘CURRENCY’ => ‘USD’,
‘ipn_signup_vars’ =>
array (
‘txn_type’ => ‘subscr_signup’,
‘subscr_id’ => ‘RP0000000008’,
‘custom’ => ‘legacymovement.net’,
‘txn_id’ => ‘RP0000000008’,
‘period1’ => ‘0 D’,
‘period3’ => ‘1 M’,
‘mc_amount1’ => ‘0.00’,
‘mc_amount3’ => ‘0.50’,
‘mc_gross’ => ‘0.50’,
‘mc_currency’ => ‘USD’,
‘tax’ => ‘0.00’,
‘recurring’ => ‘0.50’,
‘payer_email’ => ‘dummy@gmail.com’,
‘first_name’ => ‘Joe’,
‘last_name’ => ‘Somebody’,
‘option_name1’ => ‘Originating Domain’,
‘option_selection1’ => ‘legacymovement.net’,
‘option_name2’ => ‘Customer IP Address’,
‘option_selection2’ => ‘12.34.56.78’,
‘item_name’ => ‘SMB Owners Signup » $0.50 USD / Monthly ( recurring charge, for ongoing access )’,
‘item_number’ => ‘3’,
‘proxy_verified’ => ‘paypal’,
‘subscr_gateway’ => ‘paypal’,
‘eotper’ => ”,
‘ccaps’ => ”,
‘level’ => ‘3’,
‘ip’ => ‘12.34.56.78’,
‘initial_term’ => ‘0 D’,
‘initial’ => ‘0.50’,
‘regular’ => ‘0.50’,
‘regular_term’ => ‘1 M’,
),
‘s2member_log’ =>
array (
0 => ‘Ignoring this status ( `ACTIVE` ). It does NOT require any action on the part of s2Member.’,
),
)

Posted: Thursday Sep 13th, 2012 at 10:57 pm #25234
Raam Dev
Username: Raam
Staff Member

Could you try redirecting to just https://legacymovement.net/checkout-thank-you/ and testing again? Also, it’s a shot in the dark as I don’t think this matters, but try adding the success=”” attribute to the end of the shortcode instead of the beginning.

As a last resort, I’d try disabling all other plugins and testing again, as the most likely cause of an issue like this is a conflict with another plugin.

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