Stripe Pro Form for ordering

Hi Everyone,

Is there a way to get rid of the fields “create profile” when the users is already logged into the system? None of our users have been able to purchase add-on items when they are already a member with the pro forms,

It would be nice to have a flag with s2member in the form that checks if user is already logged in and if then only adds the “+ Add Billing Method”.

My customers are not happy with the new method for purchasing or downloading, Over 80 percent of them agree that it is hard and not a good flowing system with the forms that they need to fill out just to add an item and then having it reject it because user already exists.

Am I doing something wrong or does s2member assume you are new to the system even when you are logged in.

Here is an example of what I have in place for the form.

[s2Member-Pro-Stripe-Form]
[s2Member-Pro-Stripe-Form level=“2” ccaps=" opt001" desc="$14.99 USD, Renewal 1" cc=“USD” custom=“www.domain.com” ra=“14.99” rp=“1” rt=“L” rr=“BN” coupon="" accept_coupons=“0” default_country_code=“US” captcha=“0” /]
[s2Member-Pro-Stripe-Form level=“2” ccaps=" opt002" desc="$29.98 USD, Renewal 2" cc=“USD” custom=“www.domain.com” ra=“29.98 " rp=“1” rt=“L” rr=“BN” coupon=”" accept_coupons=“0” default_country_code=“US” captcha=“0” /]
[/s2Member-Pro-Stripe-Form]
[/s2If]

Again if user is logged in it will ask username, name, email, password and then fail when it checks against the accounts in the database.

I really wanted to step away from Paypal but have had to re-implement it into the system because our established customers sales went to zero when we introduced Stripe Pro Forms.

Any help would be great.

Ross

Even when I am logged in as the admin I get this form:

Create Profile
First Name *

Last Name *

Email Address *

Username (lowercase alphanumeric) *

Password (type this twice please) *

password strength indicator
Billing Method
[+] Add Billing Method
Tax Location
State / Province *

Postal / Zip Code *

Country *

Checkout Now
Submit Form

It looks like you have an [/s2If] at the end of your form but you don’t show the beginning tag [s2If]. Anyway the following should prevent “create profile” from displaying for logged in users:

[s2If !is_user_logged_in()]
[s2Member-Pro-Stripe-Form]
[s2Member-Pro-Stripe-Form level=“2” ccaps=" opt001" desc="$14.99 USD, Renewal 1" cc=“USD” custom=“www.domain.com” ra=“14.99” rp=“1” rt=“L” rr=“BN” coupon="" accept_coupons=“0” default_country_code=“US” captcha=“0” /]
[s2Member-Pro-Stripe-Form level=“2” ccaps=" opt002" desc="$29.98 USD, Renewal 2" cc=“USD” custom=“www.domain.com” ra=“29.98 " rp=“1” rt=“L” rr=“BN” coupon=”" accept_coupons=“0” default_country_code=“US” captcha=“0” /]
[/s2Member-Pro-Stripe-Form]
[/s2If]

You are definitely doing it wrong! You need to use a Billing Modification Form for users who are already logged in.

Please read the Stripe Pro Forms section in its entirety so that you know how to do everything you need.

Hi Tim,

Sorry for the delay, December was too busy there at the end to do much of anything.

When I use this:

[s2Member-Pro-Stripe-Form modify=“1” level=“2” ccaps=“Opt001” desc=“Renew for 1 Year $14.99 USD” cc=“USD” custom=“www.domain.com” ta=“0” tp=“0” tt=“D” ra=“14.99” rp=“1” rt=“L” rr=“BN” coupon="" accept_coupons=“0” default_country_code=“US” captcha=“0” /]

it still wants the the following

Create Profile
First Name *

Last Name *

Email Address *

Username (lowercase alphanumeric) *

Is this correct, some users do not know their account details because they use Google+ and Facebook as their login and the system assigns them their username against the service they logged in with.

Can I make it auto populate or not required?

Thanks,
Ross

We have always went into this whole project with ccap purchases and really need Buy ccap option. Also reading through the document for the ccap which we use for buy now I read the following:
“With s2Member, you can sell one or more Custom Capabilities using Buy Now functionality, to “existing” Users/Members, regardless of which Membership Level they have on your site (i.e., you could even sell Independent Custom Capabilities to Users at Membership Level #0, normally referred to as Free Subscribers, if you like).”

If it is for “existing” Users/Members then why in the world would it ask for them to create a new profile then flag it as already exists when they go to checkout?

So with that being in the documents, the form as is shouldn’t ask the user the info if they are an existing member and are logged in because the ccap buy now is for both new and “existing”.

Is there a flag that turns the create profile off that is not documented. I only have this in a members only page where they must be logged in. PayPal just applies to the logged in user.

In the Billing Modify it states:
Independent Custom Capabilities:
If you just want to sell an existing Member new Custom Capabilities, without affecting their paid Subscription in any way, please see the next Form Generator: Capability (Buy Now) Forms. Independent Capability Forms facilitate Buy Now functionality, specifically for Custom Capabilities, without affecting the Customer’s primary Subscription and Membership Level Access.”

I see the modify is really best for membership levels and is not meant to be used with ccaps. We only sell ccaps and we do not do auto pay subscriptions as I myself hate auto renewals and I wouldn’t do something I personally do not like on to others.

Ross

You need to place this shortcode somewhere (e.g. between appropriate conditionals) where it can be accessed only by someone logged in. There is no way for WordPress (and therefore s2Member) to know who is who unless the user is logged in.

I do, I have the following example applied before every payment shortcode.

[s2If current_user_can(access_s2member_ccap_112016r)]

stripe form

[/s2If]

I agree. I never do auto-renewals either for the same reason.

But using ccaps instead of levels is always a hindrance to scalability.

I have had this debate with a few people before, but I always advise that, when setting up a site with s2Member, you should always use s2Member levels. Later you might choose to modify what a user at each level may have access to, and that’s when you can add ccaps if you wish. But you can’t do it the other way round.

Then my guess is that you have a conflict with another plugin (or your theme) which is preventing the modification form from picking up the member’s details.

I agree,

I have level 0,1,2 and in the [s2Member-Pro-Stripe-Form level=“2” ccaps=" opt001" . . . applied for multi ccaps and level=“1” for solo ccaps

I just don’t understand why stripe pro from asks for user creation with every pro form.

Ross

That is not what I want to hear, I guess I will go through my site and see what it might be.

Ross

Hi Tim,

Found it, WP Rocket was the issue. I bough Comet Cache a few minutes ago and have configured it. Our site now is faster than it was with WP Rocket. The only thing I with wish Comet Cache had was lazy loading but I have a feeling that might be what caused the issue in the first place.

I wish Wordpress plugins didn’t cause so many conflicts. It is really annoying at times.

Thanks again Tim.

My pleasure, Ross!

Great that you’ve got it working now. It’s also interesting to hear that Comet Cache is faster than WP Rocket! (I’ve never tried WP Rocket.)

I know what you mean about conflicts, but sometimes it’s not even a plugin. I’ve been trying to pin down an issue (unconnected to s2Member) on one of my own sites, and I think I’ve now found that it’s caused by something to do with Cloudfront.

By the way, you might like to know that you can configure lazy-loading for s2Member in General Options (or maybe you already have and that’s why it didn’t like WP Rocket).

Hi Tim,

The lazy loading I am referring to is the delaying of content like images and video so the text loads instantly and then after a second the images come into play. It is a nice feature. Lazy loading the images and videos also waits to load the content when its needed like until you scroll down to it. It makes the page only load what it needs making it lighter on mobile users. Facebook and Amazon use lazy loading in their caching as well.

I do use lazy load in s2member though and I do like it.

Ross

I thought you probably meant that sort of lazy loading. Sorry, but I really hate it.

If the site creator wants to load things later, then s/he should put them below the fold where I won’t be able to see them when the page starts to load. No need for lazy loading then. And, because mobile devices have less screen real estate in any event, there’s even less need for it there.

If you’re going to make me wait to see what’s in front of me, then I’m off. It feels to me like the modern version of Skip Intro except that the only way to skip it is to leave – which I do.