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.

Reccurent payments

Home Forums Community Forum Reccurent payments

This topic contains 16 replies, has 3 voices. Last updated by  Eduan 4 years ago.

Topic Author Topic
Posted: Friday Nov 2nd, 2012 at 6:31 am #30417
Paul Dido
Username: striff

Hello again!

So one-time payment works ok through paypal, but if I try to use the shortcode for reccuring payments, paypal gives me this error:

Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.

I’ve searched the forum but no good solution for my problem…

What should I do?

List Of Topic Replies

Viewing 16 replies - 1 through 16 (of 16 total)
Author Replies
Author Replies
Posted: Friday Nov 2nd, 2012 at 10:20 am #30468
Eduan
Username: Eduan
Moderator

Hello Paul,

Could you please follow these common steps for troubleshooting: Knowledge Base » Common Troubleshooting Tips

Also, I believe this problem is caused by the custom attribute in your shortcode if I remember right. Make sure it follows the rules of how it should be. :)

You can if you want, share your full shortcode and your website URL and I can check if something jumps at me.

Hope this helps. :)

Posted: Monday Nov 5th, 2012 at 2:34 am #30617
Paul Dido
Username: striff

Hello again!

Ok… here is my test website: http://www.mawe.ro and here are my buttons: http://mawe.ro/?page_id=13

Here is the shortcode used for the first button that is with reccuring monthly payment:

[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description and pricing details here." ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="mawe.ro" ta="0" tp="0" tt="D" ra="4.00" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

Please show me what I do wrong.
Here is a user for you:
u: *****
p: ********

  • This reply was modified 4 years, 2 months ago by  Eduan. Reason: Removed username and password
Posted: Monday Nov 5th, 2012 at 12:26 pm #30641
Eduan
Username: Eduan
Moderator

Could you try this please?:

[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description and pricing details here." ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.mawe.ro" ta="0" tp="0" tt="D" ra="4.00" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]
Posted: Tuesday Nov 6th, 2012 at 2:11 am #30745
Paul Dido
Username: striff

Hello!

Thanks for your reply. Could you please explain me why your shortcode works and the one generated by S2Member buton level 1 doesn’t?

Thank you!

Posted: Tuesday Nov 6th, 2012 at 3:25 pm #30795
Eduan
Username: Eduan
Moderator

I added a www. to your custom attribute, seeing how your website’s URL is like that.

See if that works. :)

Posted: Monday Nov 12th, 2012 at 1:39 am #31274
Paul Dido
Username: striff

The site provided above is my test website, but if I try this on the live website it doesn’t work. After people log into paypal they receive this error message:

This is the code that I used:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="business" value="cetin.ametcea@gmail.com" />
 <input type="hidden" name="cmd" value="_xclick-subscriptions" />
 <!-- Instant Payment Notification & Return Page Details -->
 <input type="hidden" name="notify_url" value="http://www.arhiblog.ro/?s2member_paypal_notify=1" />
 <input type="hidden" name="cancel_return" value="http://www.arhiblog.ro/" />
 <input type="hidden" name="return" value="http://www.arhiblog.ro/?s2member_paypal_return=1" />
 <input type="hidden" name="rm" value="2" />
 <!-- Configures Basic Checkout Fields -->
 <input type="hidden" name="lc" value="" />
 <input type="hidden" name="no_shipping" value="1" />
 <input type="hidden" name="no_note" value="1" />
 <input type="hidden" name="custom" value="www.arhiblog.ro" />
 <input type="hidden" name="currency_code" value="EUR" />
 <input type="hidden" name="page_style" value="paypal" />
 <input type="hidden" name="charset" value="utf-8" />
 <input type="hidden" name="item_name" value="Membru Gold / Iti aduce privilegiul de a avea un link asociat numelui cu care comentezi pe blog." />
 <input type="hidden" name="item_number" value="1" />
 <!-- Configures s2Member's Unique Invoice ID/Code  -->
 <input type="hidden" name="invoice" value="<?php echo S2MEMBER_VALUE_FOR_PP_INV(); ?>" />
 <!-- Identifies/Updates An Existing User/Member ( when/if applicable )  -->
 <input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
 <input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
 <!-- Identifies The Customer's IP Address For Tracking -->
 <input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
 <input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" />
 <!-- Controls Modify Behavior At PayPal® Checkout -->
 <input type="hidden" name="modify" value="0" />
 <!-- Customizes Prices, Payments & Billing Cycle -->
 <input type="hidden" name="src" value="1" />
 <input type="hidden" name="srt" value="" />
 <input type="hidden" name="sra" value="1" />
 <input type="hidden" name="a3" value="4.00" />
 <input type="hidden" name="p3" value="1" />
 <input type="hidden" name="t3" value="M" />
 <!-- Displays The PayPal® Image Button -->
 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>

This is what i’ve removed from the generated code:

<!--<input type="hidden" name="amount" value="4.00" />-->
<!--<input type="hidden" name="a1" value="0" />-->
<!--<input type="hidden" name="p1" value="0" />-->
<!--<input type="hidden" name="t1" value="D" />-->


If I let the code as it was generated I receive this error:

Posted: Wednesday Dec 5th, 2012 at 8:22 am #33540
Paul Dido
Username: striff

so… what is the solution for my problem? no reccurent payments are working…

Posted: Wednesday Dec 5th, 2012 at 10:17 pm #33650
Eduan
Username: Eduan
Moderator

I’m very sorry, somehow I let this slip.

I’m not sure what could be happening. What are your test website’s and your live website’s URLs?

Also, what happens if instead of that code you use the shortcode?

– Eduan

Posted: Thursday Dec 6th, 2012 at 12:16 am #33662
galtman
Username: viralshot

I’am having this exact same problem on one of my websites:

“Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.”

I receive this error (using PayPal buttons with Standard Business Account and S2Member Pro).

I have re-occuring options set. We bill clients a set price up front – then a monthly fee. I’m using the S2Member generated short code to test with on new site. Tried in 2 different themes (same problem).

Posted: Thursday Dec 6th, 2012 at 1:36 am #33669
Paul Dido
Username: striff

Eduan: my live website url is the one mentioned in the posts above:

http://www.arhiblog.ro

If i use shortcode for BuyNow for 1 month it works flawless… but if i try to generate button for reccurrent payment evey month, i get the error i showed in the screenshot above.

Here i’ve inserted the buy now buttons, also here I want to change them with reccurrent payment each month:

http://www.arhiblog.ro/membru-premium/
Posted: Thursday Dec 6th, 2012 at 10:19 pm #33833
Eduan
Username: Eduan
Moderator

Hmm…

Really, as far as I’m aware, and I can remember. This error is only caused by the following (as my memory allows):

  1. Your PayPal info is incorrect and so you get this error.
  2. There is a plugin incompatibility somewhere, or a theme incompatibility.
  3. Or you are using the HTML version of the buttons.

Pretty sure we’ve tried all of these… Could you triple check your PayPal info is correct, you use the shortcode version of the buttons, and that you follow all of these common trouble shooting tips: Knowledge Base » Common Troubleshooting Tips

– Eduan

Posted: Tuesday Dec 11th, 2012 at 12:19 am #34205
galtman
Username: viralshot

Ok, so after further testing I’ve verified my paypal information is correct and it’s not related to any plugins. It is something to do with the “Avada” theme I’m using. If I disable all plugins it still doesn’t work. If I switch to any of my other themes the plugin works fine. The second I activate the “Avada” theme I get the error mentioned above. Unfortunately the Developer of this theme is not very much help. Is there anyway you guys could help me further trouble shoot what in this theme might be conflicting with your plugin? I really don’t want to start the website all over and really don’t want to switch membership plugins…
Thanks.

Posted: Tuesday Dec 11th, 2012 at 12:21 am #34206
galtman
Username: viralshot

Also – if needed I would be more than happy to send you an exact copy of the theme i’m using.

Posted: Tuesday Dec 11th, 2012 at 10:06 am #34260
Eduan
Username: Eduan
Moderator

Hello galtman,

I’m afraid I can’t offer any help myself on this regard, but it might be worthwhile to hire a freelancer to fix this compatibility issue for you. You can post a job at websites like jobs.wordpress.net or freelancer.com or elance.com.

The pro support of s2Member doesn’t offer this kind of service, so your best chance is hiring a freelancer. :)

Hope this helps. :)

Posted: Tuesday Dec 11th, 2012 at 11:13 am #34265
galtman
Username: viralshot

I appreciate your reply, but that doesn’t really help out. Ok, I’ve now hired a freelancer. Can you at least tell me what S2Member files are used when transferring or communicating data with PayPal so I can point my web programmer in the right direction…?

Thanks

Posted: Tuesday Dec 11th, 2012 at 10:30 pm #34323
Eduan
Username: Eduan
Moderator

You can point him to the s2Member codex, it will have a list of things to modify and which files you can find it in: s2Member® » Codex (Source Code Docs)

– Eduan

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