PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Sending to Paypal Mobile

s2Member Plugin. A Membership plugin for WordPress®.

Sending to Paypal Mobile

Postby cclambie » October 1st, 2011, 7:16 am

Hi there,

Does anyone know how to successfully make s2Member direct to Paypal for Mobile?
I have tried adding to the cmd as described on this Paypal page - https://cms.paypal.com/us/cgi-bin/?cmd= ... ileDevices
But I haven't had any luck.

Would be great to be able to use s2Member on my Mobile Applications.

Thanks
C
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Sending to Paypal Mobile

Postby Cristián Lávaque » October 2nd, 2011, 3:52 am

C, where did you add the cmd=_express-checkout-mobile part in your test?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Sending to Paypal Mobile

Postby cclambie » October 2nd, 2011, 5:44 pm

Hi Cristian,

I tried it this way
Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="cmd" value="_express-checkout-mobile" /><!-- Instant Payment Notification & Return Page Details --><input type="hidden" name="notify_url" value="http://truesecrets.com.au/strange-tours-melbourne/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://truesecrets.com.au/strange-tours-melbourne/" />
<input type="hidden" name="return" value="http://truesecrets.com.au/strange-tours-melbourne/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" /><!-- Configures All Checkout Fields --><input type="hidden" name="lc" value="" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="truesecrets.com.au" />
<input type="hidden" name="currency_code" value="AUD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name" value="True Secrets 24 Hour Access" />
<input type="hidden" name="item_number" value="Secrets 1 through 7" />
<input type="hidden" name="amount" value="15" /> <!-- Associates Purchase With A User/Member ( when/if applicable ) --><input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
<!-- Identifies The Customer's IP Address For Tracking --><input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
<input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" /> <!-- Displays The PayPal® Image Button --><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>


Then this way
Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick&_express-checkout-mobile" /><!-- Instant Payment Notification & Return Page Details --><input type="hidden" name="notify_url" value="http://truesecrets.com.au/strange-tours-melbourne/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://truesecrets.com.au/strange-tours-melbourne/" />
<input type="hidden" name="return" value="http://truesecrets.com.au/strange-tours-melbourne/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" /><!-- Configures All Checkout Fields --><input type="hidden" name="lc" value="" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="truesecrets.com.au" />
<input type="hidden" name="currency_code" value="AUD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name" value="True Secrets 24 Hour Access" />
<input type="hidden" name="item_number" value="Secrets 1 through 7" />
<input type="hidden" name="amount" value="15" /> <!-- Associates Purchase With A User/Member ( when/if applicable ) --><input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
<!-- Identifies The Customer's IP Address For Tracking --><input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
<input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" /> <!-- Displays The PayPal® Image Button --><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>


Then this way
Code: Select all
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout-mobile&useraction=commit&token=valueFromSetExpressCheckoutResponse&RETURNURLhttp://truesecrets.com.au/strange-tours-melbourne/?s2member_paypal_return=1&CANCELURL=http://truesecrets.com.au/strange-tours-melbourne/&SOLUTIONTYPE=Sole&LANDINGPAGE=Billing&AMT=15&"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" /></a>


Thanks

Craig (sorry I am used to having my name in the signature :)
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Sending to Paypal Mobile

Postby Cristián Lávaque » October 3rd, 2011, 2:15 am

Thanks, Craig. :)

I'll email Jason so he adds his comments about this.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Sending to Paypal Mobile

Postby cclambie » October 3rd, 2011, 3:26 am

Thanks Cristia'n
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Sending to Paypal Mobile

Postby Jason Caldwell » October 3rd, 2011, 10:15 pm

Thank you. Investigating this now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Sending to Paypal Mobile

Postby Jason Caldwell » October 7th, 2011, 7:17 pm

Thanks for your patience.

I can confirm that s2Member has NOT yet been tested with PayPal mobile, I'm adding this to our TODO list now. That being said, it seems from the documentation I've been over so far, that PayPal auto-detects mobile devices ( i.e. the HTTP_USER_AGENT ), and displays their mobile version when applicable. However, I take it that's not working for you? Perhaps there are some features that s2Member uses which PayPal's mobile version is not compatible with yet. I'll be looking further into this issue soon. Please feel free to report back with any additional test results. Thanks again for your patience.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Sending to Paypal Mobile

Postby cclambie » October 8th, 2011, 12:29 am

Thanks Jason - I was under this impression too.
I for now have put this aside, but if I have time to try it further I will give it a go.
How far down your todo list is it?
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Sending to Paypal Mobile

Postby Jason Caldwell » October 8th, 2011, 1:43 pm

Thanks for the follow-up.
It's looking like mid-November right now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Sending to Paypal Mobile

Postby cclambie » October 17th, 2011, 7:42 pm

FYI I have had a conversation with Paypal and this is there latest message:

Hi Craig,

You will need to speak with s2Member to understand what PayPal integration they are using. The mobile optimized flow is currently only available with Mobile Express Checkout, the standard Buy Now buttons do not yet support the mobile checkout flow.

Thanks,
Stephen
Developer Technical Services
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Sending to Paypal Mobile

Postby Jason Caldwell » October 19th, 2011, 8:36 pm

Thanks for the follow-up.
s2Member is integrated with Standard Buy Now Buttons. However, s2Member Pro Forms ARE integrated with Express Checkout, so it sounds like they should work with Mobile Express Checkout automatically.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron