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.

Issue with Get Variable on Success attribute

Home Forums Community Forum Issue with Get Variable on Success attribute

This topic contains 0 replies, has 1 voice. Last updated by  Gary Leicher 3 years, 3 months ago.

Topic Author Topic
Posted: Friday Sep 20th, 2013 at 9:59 am #59718

Hey everyone

i’m trying to dynamically generate shortcodes based on different circumstances

this is the code for one button, there are four.

basically i have a custom pricing table, and these buttons are generated based on prices users enter in the backend, so the price variable changes,

What important is that on the success page, i need to be able to grab the “package” attribute via GET to run different procedures

my problem is that i am not able to grab that appended get variable.. it is not being processed correctly..
please see a var_dump of the $_get below..

array (size=9)
  's2member_paypal_return' => string '1' (length=1)
  's2member_paypal_return_tra' => string 'fnIyOlpuRDZJV0dtYm1ERnN3Nmd3ZU5XOXo3MFMyZFduREZGOmZkMWM1NzM4NTczNWFlZWRiZTJjN2JjNTY3NjkzYjUwfDbB0i1RdxkKU2NzXkDvH_9YLcLk4wxTkmVhDJNxCHjtNu2-xXuLuduYKPuSsm9_8p1YV_oKEz_XNn3pnxJ8TZp0exLG0yiBwhTFCmrWc4MqZ4vIoWFVETDZ1BzRwGLpp1wvV-X3r5i6oY-dlVzwyq4R5JKjAIjG4GbF2N_jKMitF38EQ8XdBHSZznpXNCELPD7yXzjGIZKkP0ej0HEFUCC3Rp4irz8aSPES4ticaQrLPPjhEsK2n3gO6stQg1D_Nhw2QtoSCNflJwiadzLVccqxJWN6H60SH77BqakLnnDyeyF5axhm7FdzuDCCX2clfUMacISggjeE95Weln5vNum2I4WW03QhDhVPzk_otEp5x7PgFWWBlNYHI6LmnGdx5g' (length=478)
  's2member_paypal_return_success' => string 'http://localhost/wordpress/mindframe/?s2member_paypal_return=1&package=platinum' (length=79)
  'tx' => string '7RD50944JN433744F' (length=17)
  'st' => string 'Completed' (length=9)
  'amt' => string '7.00' (length=4)
  'cc' => string 'USD' (length=3)
  'cm' => string 'localhost' (length=9)
  'item_number' => string '4::1 Y' (length=6)

i’m not sure what has changed, i havn’t tickered too much in the backened, but when i started building the site.. the success page, would show one variable ‘s2member_paypal_return’ => string ‘1’ (length=1) and my custom variable ‘package’ => platinum.

Also the template si different.. its now asking me to log back in..

does anyone have any idea why i’m not able to do this?

even when i generate a shortcode from the backend no and simply just add the normal return url as a success attribute as shown in the exmaples.. its still doing this.. i’ve also turned off payment review for my sandbox account..

This is going over sandbox from my localhost.. and localhost is enabled in the backened

i’d be very grateful for any help

Thanks

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.