Shortcode Pro-PayPal does not work despite proVersion

Hello, I am new here, s2member beginner and hope you can help me.
My problem: I am using ProVersion, I have set the PayPal setting including the token, but after paying via PayPal I get the error: “[ mitglieder.beratung-ferg.de ] sagt… ERROR: New features cannot be added. Please contact support for assistance. Missing user/member data. Back to main page”.
Could the reason that I still only get the standard PayPal button? As soon as I change my shortcode from … PayPal button to … Pro-PayPal button, only text appears in the Elementor shortcode widget and the PayPal button disappears. My shortcode is as follows: [s2Member-Pro-PayPal-Button level=“1” ccaps=“kurs1” desc=“Test” ps=“paypal” lc="" cc=“EUR” dg=“0” ns=“1” custom=“mitglieder.beratung-ferg.de” ra=“0.01” rp=“1” rt=“L” rr=“BN” image=“default” output=“button” success=“https://mitglieder.beratung-ferg.de/hf-danke”].
Both plugins are in the latest version. Both is correct in the wp-content directory. I don’t use cache plugins that could cause additional problems. Before payment, a ProForms registration for payment, a recommendation because I don’t use PayPalPro, but a business account. The registration of the client has confirmed, but he not receive data. I test it with 0,01 EUR in real time. What could be the problem? Please let me know, if you need more information from me. Thank you and best regards.

Hallo Heike, willkommen!

There isn’t a s2Member-Pro-PayPal-Button… If you have s2Member Pro, you could try the pro-form s2Member-Pro-PayPal-Form, create one from here: WP admin > s2Member Pro > PayPal Pro-Forms

You don’t need PayPal Pro for it, the PayPal Business account is enough. The “Pro” in pro-form is for s2Member Pro. Yes, PayPal Pro is supported, but not required.

Try it and let me know how it goes.

:slight_smile:

Hello, thank you very much for the quick response! Perhaps I have expressed myself somewhat incomprehensibly. Let me explain it in more detail from the beginning:

I use Paypal Standard because I don’t need a pro version of Paypal.

I currently have the two S2member versions.
To write customer invoices I use the 2-step process:
The pro forms form for the billing address data request.
Then I redirect to a payment page where my Paypal button is located (Elementor, shortcode widget inserted).

If I generate a shortcode in the backend via Paypal buttons without inserting my own thank you page, without first using the additional registration form for the address query and without changing the shortcode, then this triggers the payment process in Paypal itself correctly. However, you will then end up on this error page:

[ mitglieder.beratung-ferg.de ] says…

ERROR: New functions cannot be added.
Please contact support for assistance.

Missing user/member details. - Back to main page -

The customer is not created in the system. No payment confirmation emails are sent to either the customer or myself.

So I asked the clever AI for help and they wrote that I have to change the shortcode as described in my last request, but only text comes up and the further information from the AI referred to error source elimination because WordPress supposedly cannot process this shortcode. Since I’m always going round in circles with this, I’ve now found the forum and hope that they can help me further.

By the way, this would be the original button from the backend without any changes: [s2Member-PayPal-Button level=“*” ccaps=“kurs1” desc="Description and pricing details here.” ps=“paypal” lc=“” cc=“EUR” dg=“0” ns=“1” custom=“mitglieder.beratung-ferg.de” ra=“0.01” rp=“1” rt=“L” rr=“BN” image=“default” output=“button” /]

Best regards

Thanks for the additional details! I’m not quite sure what that “New functions cannot be added” error is, it’s not in s2Member, but we’ll figure this out.

I use Paypal Standard because I don’t need a pro version of Paypal.

That’s perfectly fine.

The pro forms form for the billing address data request.
Then I redirect to a payment page where my Paypal button is located

You can use a pro-form for payment without PayPal Pro. The pro-form also works with your PayPal Business account. You can have the payment pro-form after the user registered and logged in, or you can have the registration pro-form also take the payment (paid signup).

By the way, this would be the original button from the backend without any changes

That one worked fine, right? And you want to add the success redirection? Then…

[s2Member-PayPal-Button level=“*” ccaps=“kurs1” desc="Description and pricing details here.” ps=“paypal” lc=“” cc=“EUR” dg=“0” ns=“1” custom=“mitglieder.beratung-ferg.de” ra=“0.01” rp=“1” rt=“L” rr=“BN” image=“default” output=“button” success=“https://mitglieder.beratung-ferg.de/hf-danke” /]

Also, while you get things set up, it’d be good that you keep logging enabled to help troubleshoot if needed. WP Admin > s2Member Pro > Log Files

Hello Christian,
I am very glad that you are supporting me.

By the way: I don’t want to use the registration Pro-Form including the Paypal button because there are also other means of payment and the text asking for credit card details. I only offer Paypal.

Now I have activated 2 x yes at LogFiles and inserted your shortcode.

Greetings Heike

1 Like

Now I have activated 2 x yes at LogFiles and inserted your shortcode.

Good

By the way: I don’t want to use the registration Pro-Form including the Paypal button because there are also other means of payment and the text asking for credit card details. I only offer Paypal.

You can change the shortcode to accept="paypal" accept_via_paypal="paypal" WP admin > s2Member Pro > PayPal Pro-Forms > Shortcode Attributes Explained

Something like this:

[s2Member-Pro-PayPal-Form level="1" ccaps="kurs1" desc="Test" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="mitglieder.beratung-ferg.de" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success=“https://mitglieder.beratung-ferg.de/hf-danke” /]

I am very glad that you are supporting me.

:wink:

Hello Cristián,

I have added your shortcode to my payment page:
[s2Member-PayPal-Button level=“*” ccaps=“kurs1” desc="Description and price details here.” ps=“paypal” lc=“” cc=“EUR” dg=“0” ns=“1” custom=“mitglieder.beratung-ferg.de” ra=“0.01” rp=“1” rt=“L” rr=“BN” image=“default” output=“button” success=“https://mitglieder.beratung-ferg.de/hf-danke” /]
The Button is now here and I have tested it in the private window, but the error message appears again: …ERROR: New functions cannot be added. Please contact support for assistance. Missing user/member details. - Back to main page -

And I entered the second shortcode for the modified pro form on my registration page:
[s2Member-Pro-PayPal-Form level="1” ccaps="course1” desc="test” ps=“paypal” lc=”” cc="EUR” dg="0”ns="1” custom="mitglieder.beratung-ferg.de” ta="0” tp="0” tt="D” ra="0.01” rp="1” rt="L” rr=“BN” rrt=”” rra="2” accept="paypal” accept_via_paypal=“paypal” coupon=”” accept_coupons=“0” default_country_code=”” captcha="0” success="https://mitglieder.beratung-ferg.de/hf-danke” /]
only text and no form is displayed.

Many thanks for the tip: Shortcode attributes explained :blush:.

I hope we find the errors :pray:.

Best regards

Thank you for trying those and the update.

What do the logs say? Any entries related to those test payment attempts? WP Admin > s2Member Pro > Log Files

Did you verify that your s2Member-PayPal configuration is complete and correct? WP Admin > s2Member Pro > PayPal Options

  • PayPal Account Details
  • PayPal IPN Integration
  • PayPal PDT/Auto-Return Integration

Would it be possible for me to take a look and try some tests on your staging site? If you agree, please send me an admin login to email: support at wpsharks.com.

:slight_smile:

Hello Cristián,

yes, the PayPal options mail address, IPN integration, PDT/Auto-Return integration (…?s2member_paypal_return=1) are all set including the identity token.

The log files are now filled. I have sent you an admin login by e-mail.
Thank you very much for your effort :innocent:.

Best regards

Thanks! I was able to login.

I’ve been reviewing the site, and found some pages with s2Member shortcodes. The pro-form that isn’t being parsed, did you try it in a page by itself? There shouldn’t be two pro-forms on the same page, they normally would be parsed, but won’t work well.

I see in the gateway-core-rtn.log an entry with the error you mention. It’s weird, because the buttons I see in the pages, the ones created with the s2Member shortcode, seem to have the required value… I see the wrong variable and value in the log, that’s why it’s not validating. Could you tell me which button you used for that test?

When the user is logged in, his user ID is referenced so that his account gets updated, but this value is not where it should in the logs, something’s putting it in the wrong place…

Oh, I see, that field has the “Originating Domain” when the user is not logged in, and “Referencing Customer ID” when the user is logged in. Could it be that you are trying to buy the custom capability as a guest? Independent custom capabilities (meaning without the level) can only be sold to logged in users. This button/pro-form for independent capabilities should only be shown to logged in users (either the page requires Level 0, or use a conditional like s2If).

Could you log in as a regular user (not adminisitrator) and try the button again? Let me know how it goes.

:slight_smile: