Community Support Forums — WordPress® ( Users Helping Users ) — 2010-08-30T00:49:06-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=284 2010-08-30T00:49:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=284&p=2664#p2664 <![CDATA[Re: Customised Subscription Billing]]> Hi Katie. Thanks for reporting back.

OK. So you have the Exec-PHP plugin installed, and you NEED the Full Button Code.

If those values are still showing up in the description at PayPal®, it's because they're not being evaluated into the values they represent. This would indicate to me that your editor is corrupting the Button Code somehow, or that the Exec-PHP plugin is not working on your installation of WordPress®.

Here are some additional things that I've seen as possible causes:

1. You're using a NON-default editor for WordPress®?
( try using the default WordPress® editor instead, see if that helps )

2. In your WordPress® Settings -> Writing panel, do you have this box checked?
~ WordPress should correct invalidly nested XHTML automatically
( if so, you MUST uncheck that box, it causes conflicts with the Exec-PHP plugin )

3. Are you on a Multisite Network installation? If so, you'll have all sorts of trouble with Exec-PHP due to the additional security restrictions that are enforced by Multisite mode. Placing this file into your /wp-content/mu-plugins/ directory may correct the issue for you.
remove-kses.zip
Which contains this code snippet:
Code:
/*
Remove kses filters.
Attached to: add_action("init");
*/
function ws_plugin__remove_kses ()
   {
      if (current_user_can ("unfiltered_html"))
         kses_remove_filters ();
   }
/*
Add the actions.
*/
add_action ("init", "ws_plugin__remove_kses", 11);
add_action ("import_start", "ws_plugin__remove_kses");


If none of that helps, here are some additional things you could try:

1. Use this plugin to create your own custom Shortcode that will produce your custom Button Code.
http://wordpress.org/extend/plugins/shortcode-exec-php/

2. Place the Button Code directly into your theme, instead of into the WordPress® editor.

~ Please let us know if any of these solutions work for you. ~ Good luck!

Statistics: Posted by Jason Caldwell — August 30th, 2010, 12:49 am


]]>
2010-08-26T09:24:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=284&p=2585#p2585 <![CDATA[Re: Customised Subscription Billing]]> Thanks for the prompt reply. When I create a customised PayPal button I get
Code:
<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>:
<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>

Showing in the description.
I found this topic that covers it: http://www.primothemes.com/forums/viewtopic.php?f=4&t=459&p=1920&hilit=S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0#p1920

Possible solutions:
1. Install the Exec-PHP plugin. - yes done
2. Use the Shortcode format instead. - need customised button
3. Make sure that your Button Code is not getting corrupted by the Visual Editor. - never use the visual editor, I do everything in the HTML

Is it just whilst I am testing with Sandbox enabled I have this problem and it'll resolve on a genuine account or is there an alternative resolution please?

Many thanks
Katie

Statistics: Posted by k4yti — August 26th, 2010, 9:24 am


]]>
2010-06-26T02:15:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=284&p=1233#p1233 <![CDATA[Re: Customised Subscription Billing]]>
Yes, but ONLY with PayPal Standard integration.
You'll want to use the Full Button Code, instead of the Shortcode format.
In the Full Button Code, change variables: a1, p1, t1 <- to -> a2, p2, t2

Also, please read this article. s2Member really does NOT fully support this in reporting/tracking, but it does work at PayPal, and in cases where tracking from s2Member is not critical, you can get away with it:
viewtopic.php?f=4&t=248&p=1085&hilit=does+not+support#p1085

Statistics: Posted by Jason Caldwell — June 26th, 2010, 2:15 am


]]>
2010-06-25T05:56:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=284&p=1198#p1198 <![CDATA[Customised Subscription Billing]]>
How would it be possible to set up a PayPal Button that charges a subscription monthly billing with an extra 7days in the first month? The simplest solution would be to do 7days free then monthly subscription billing, however I want the first payment taken at the beginning of the term not after the 7 free days.

Thank you again for a great wp plugin.

Katie

Statistics: Posted by k4yti — June 25th, 2010, 5:56 am


]]>