This topic contains 0 replies, has 1 voice. Last updated by Pierre 3 years, 11 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Jan 29th, 2013 at 1:47 pm #39915 | |
No response on the customer support forum, so created this here too: I have created my own custom paypal buttons using this code which I “manufactured” myself:
Also, just so you know, I have the following advanced variables on the paypal side:
Everything seems to work, except the success page redirect – which I want to bypass entirely and have the user go straight to the registration page (buddypress installed). I guessed the last hidden input, as I can’t use a shortcode for this. Can you give me the html for the success field please that I can use here? Or perhaps give me some function to add to my s2hacks.php. This is pretty much the main reason I purchased the plugin. As a suggested solution, will it be possible to create a custom paypal-return.php with the following code:
This should simply redirect to the registration page. Is that ok? Will this break anything? A second concern I have is that I’m using jquery to create the paypal buttons (pricing table does this), so I want to avoid all php in the buttons code, as I dont know how to do php in jquery. As a result, I have NOT included the hidden inputs “invoice”, “on0″ / “on1″ and “os0″ / “os1″ – is that a problem? I understand s2member will still track users when the attempt to login, but I’m not sure about why the “invoice” input is needed. Any insight would be appreciated. Many thanks. |