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.

About: Holger

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Button Encryption without Shortcodes

By:  Holger in: Community Forum

voices: 3
replies: 7

4 years, 9 months ago  Cristián Lávaque

PayPal return link frustration

By:  SusanJ in: Community Forum

voices: 4
replies: 13

4 years, 9 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Button Encryption without Shortcodes

By:  Holger in: Community Forum

voices: 3
replies: 7

4 years, 9 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Saturday Mar 31st, 2012 at 8:02 pm #9685
Holger
Username: infoking

Thanks for your answer, Susan.
This is really frustrating. I have spent many hours trying to find any cause. :-(

Dear Cristian or Jason, are you sure that it could not be a problem of S2Member? Can you reproduce the problem?
Is there any workaround? I cant go live with my site in this way. :-(

Posted: Saturday Mar 31st, 2012 at 10:18 am #9662
Holger
Username: infoking

Was there a solution?

Unfortunately I have the same problem. If the customer is waiting everything works well. PayPal then redirects to the URL:
http://www.mydomain.net/?s2member_paypal_return=1&tx=22M78991WX9538347&st=Completed&amt=0.80&cc=EUR&cm=www.mydomain.net&item_number=sp:30:4380
The S2Member return-page directs the customer to the paid content.

But if the customer does not want to wait and click on the link (i think most customers do so), the redirect is wrong:
http://www.mydomain.net/?merchant_return_link=klicken+Sie+hier&form_charset=UTF-8

This problem affects all s2member user, right? Or is it dependent on a setting?

Posted: Saturday Mar 31st, 2012 at 9:16 am #9659
Holger
Username: infoking

Ah, figured it out!

This works great in the template and the button gets encrypted:

<?php echo do_shortcode('[s2Member-PayPal-Button sp="1" ids="'.$mypostid.'" exp="4380" desc="'.$buchungstext.'" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.x.net" ra="'.$preis.'" image="default" output="button" /]'); ?>

There is no need to use an PHP-Execution-plugin this way.

Thanks for the help and for this wonderful plugin! :-)

Posted: Saturday Mar 31st, 2012 at 7:34 am #9656
Holger
Username: infoking

Hi Cristian.
Hmm, that might be an idea. Thanks for the tip!
But then I will have another problem: How can I use this shortcode in the template? I want to process a large number of posts on this wise. So it is not possible to insert the shortcode in each post content. That’s why I’ve chosen the HTML/PHP code.

Is there no way to encrypt my buttoncode in the template using a s2Member-function, without using shortcode?

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

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.