Disable PP Guest Checkout on Pro-form

Hi all,

I am using Pro-Forms with a PayPal Pro account.

If the user checks out using a “Buy Now” form and selects PayPal as a checkout option, they are taken to a page where they can use either their PP account or the PP guest checkout. Problem is, I want to use the Pro-Form to process the credit card only and not allow this on the PP gateway.

I understand this is PP Express checkout and s2member Pro is configured to use this by default.
However, can I disable this guest checkout and force people to use their PP account if they choose this option?

I think the answer lies with the following parameter:

SOLUTIONTYPE = ‘Sole’

which as I understand, enables the guest PP checkout. But I can’t find this parameter anywhere in the s2member core files and even if I did, I don’t know what to change it to.

Can anyone help?

I don’t believe that parameter exists in s2Member either. Have you asked PayPal whether you can disable Guest Checkout account-wide on your PayPal account? I believe I’ve seen such a setting somewhere.

Hi JediShark,

I thought it existed as well but I have been through all the settings and so far, no joy.
I did find an option to switch between accepting “PayPal, Credit & Debit Cards” and “PayPal” in the websote payment options but this did absolutely nothing. Maybe it’s for PayPal forms only.

I am trying to get in touch with the PP engineer to find out.
I will update here if I find the solution.

Thanks.

There is an option in PP called “PayPal Account Optional”. I set this to “Off” but it has no effect. It seems that this feature applies to PayPal buttons only.

With that being said, can someone guide me on replacing the PayPal checkout button in the pro-form?
I have already replaced the button image to one that fits more nicely with the website but I am no javascript expert and as far as I can tell, this modification needs to be done in:

s2member-pro\src\includes\seperates\gateways\paypal\paypal.min.js

I think I need to replace the express checkout button with a regular checkout button in order to get rid of the guest checkout in PayPal.

I would really appreciate some s2member devs getting involved here.