Custom PayPal Pro Form Fields vs. Free Registration

I just paid to upgrade to S2Member Pro and am having a difficult time integrating custom form fields in my PayPal Pro Forms. I’m frustrated with purchasing the update as it removed my custom buttons and custom fields option.And it’s difficult to find help.

I added the applicable code to add custom fields in paypal-checkout-form.php, and it works and appears in the free membership, but not in my PayPalPro forms.

https://www.inwbands.com/membership/sign-up/

https://www.inwbands.com/membership/sign-up/part-membership/

Any ideas?

I’ve been searching for hours!

Have you tried using the Registration/Profile Fields & Options under General Options?

Did you add the template="" attribute to your PayPal Pro forms to specify the path to your template?

[s2Member-Pro-PayPal-Form ... template="/my-pro-forms/paypal-checkout-form.php" /]

See also: https://s2member.com/kb-article/s2member-pro-forms/#toc-59c500b5

I did add the template. It works for FREE registration level 0 but none of the other levels.

@Cindyscinto0523: Please show us the full Pro-form shortcode, maybe there is something wrong…

Okay, it was very frustrating to understand what was happening. I uninstalled and reinstalled S2Member Foundation…, and it cleared up the issues, so I will install the Pro Version again. I only wish the PayPal ProForms weren’t so complicated to modify. And I do have PayPal Pro. Hopefully, it will go smoother this time.

You can actually modify them by just copying the relevant form into your theme’s folder and modify the html directly in there. Just remove the Custom fields section (including the %%custom_fields%%) and replace it with what you want.

The easiest way to try this is to add a custom field by the default method, and then copy the html it produces from the browser Inspector or View Page. Then you will have a model for how you can add other fields.

Thank you, Tim. I think I may be close to finishing this up. Just have to use the PayPal sandbox tomorrow to test payments.

Take a look at it if your interested to see the outcome:

https://www.inwbands.com/

Looks good, Cindy! Thanks for posting a link!

Paypal sandbox, despite the name, is not good for testing. Better set a $0.01 payment to test with.

Good point, Krum – very true!