|
That’s great Cristián, thanks for your help, I really appreciate it.
|
|
Hi Cristián,
Just to let you know I have sent you my site info via the private contact form.
Thanks, Christian
|
|
Please ignore, I think I found the problem – having two forms on the same page. Removing one of them has fixed it.
|
|
For single payments it’s best to use Buy Now. Single payment subscriptions are only there in case you need an initial/trial term.
I had been using the “buy now” button. It still didn’t work.
srt is for subscriptions that should be charged only a certain number of terms, instead of indefinitely until cancelled. Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> srt
On that basis, can I leave srt out of the advanced variables box?
with the latter you have the EOT time set right away and no subscription created over at PayPal:
I will change the src value to BN and try again.
|
|
When you create the button over at PayPal, you do it with a graphic interface and won’t be editing code. The button code it gives you is just a sort of ID for the button and PayPal uses it to pull all the button’s settings from its database, so you won’t be editing variables as the p3 or t3.
Adding those variables would appear to be the only way to set the EOT. Otherwise, how do I tell PayPal to tell S2Member that the membership lasts for only one year?
|
|
So just to clarify, my advanced variables box should look like this:
rm=2
src=0
srt=??????
sra=1
a3=2
p3=1
t3=Y
custom=muscleevo.co.uk
notify_url=http://muscleevo.co.uk/?s2member_paypal_return=1
What do I use for the srt value, as it doesn’t have one in the example you provided – just leave it blank?
|
|
I tried that, and it still doesn’t create an EOT.
This is exactly what I have in my advanced variables box:
—
rm=2
p3=1
t3=Y
src=0
custom=muscleevo.co.uk
notify_url=http://muscleevo.co.uk/?s2member_paypal_return=1
—–
Is anything missing?
|
|
To change the payment from recurring to One-Time, you’ll want to make sure that you’ve set “src” to 0.
By that, do you mean I need to add src=0 to the advanced variables box in the PayPal button generator?
|
|
You are using a button created over at PayPal, did you integrate it with s2Member?
Yes, I’m using all the integration settings from that article. The registration process worked fine, it assigned the new user to the right level, and returned them to the site after making payment so they could register. But it just didn’t set an EOT.
As for the logging, I didn’t have it enabled. I’ve enabled it now and will try again. Just to confirm, setting p3=1
and t3=Y in the advanced variables box in the PayPal button generator should pass the instructions to S2Member that the EOT will be 1 year from the date of registration?
|
|
When I used the PayPal button generator on the PayPal website, I did select the “buy now” button type as opposed to the subscription option. So I thought that by adding the variables I mentioned in the advanced variables field that I *was* I setting up a one-time payment for a specific amount of time. The fact that no EOT appeared suggests that I didn’t. Are the advanced variables I was entering incorrect?
|
|
I’d be interested in knowing the answer to this one as well.
|
|
Thanks Cristián, that is really helpful.
Just one follow-up question:
To set billing cycle information, I have taken a look at the code generated by the S2Member button code generator, and it looks like I need to add some variables for the length of time that I want the membership to last.
For example, if I want the membership to last for 1 year, I would add the following to the “advanced variables” box in the PayPal button generator:
p3=1
t3=Y
Is this correct?
|
|
What payment gateway do you want to do this with?
PayPal.
Using a pro-form or button?
A button or link would suffice to begin with.
|
|
|
|
Someone has responded to the job, and suggested using an iframe to work around the problem. While I can see how this would work, it doesn’t seem to me to be the best way of doing it. What do you think?
|
|
Thanks Eduan, I will wait to hear back from the job I posted, and see if anything can be done.
|
|
Thanks Eduan – I’ve posted the job on jobs.wordpress.net.
Do you think a multi-site network might be one way to make it work?
So Site A and Site B become part of the same network, with S2Member installed on the network. That may give me the flexibility I am looking for in terms of using different themes on both sites. I am a complete novice when it comes to this kind of thing, and would appreciate your advice.
Christian
|
|
|