Page 1 of 1

Selling specific items with Paypal Website Payments Standard

PostPosted: November 8th, 2011, 8:13 am
by gkontos
Hi everybody,

I have started using this nice plugin for selling 3 different option plans for my website.

I have a question regarding the possibility of adding an option for a customer to buy a certain product that is available regardless of their subscription status.
In other words lets say that we have product (a), product (b) etc... as an add on service. The customer chooses to buy this via Paypal Website Payments Standard.

Is that possible to handle with s2Member ?

Thanks for your help,

George

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 8th, 2011, 8:43 am
by Eduan
Yes, you can do this through Specific post pages:
http://www.s2member.com/specific-posts-pages-video/

Or through Custom capabilities (ccap):
http://www.s2member.com/custom-capabilities-video/

You can use whichever you prefer.

Hope this helps. :)
Also remember to report back,
otherwise you leave me worrying. ;)

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 8th, 2011, 9:43 am
by gkontos
Hi Eduan,

thanks for the immediate reply! I am checking those videos and they really look very close to what I was after. Especially the specific posts. I will report back.

Thanks again

George

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 8th, 2011, 10:18 am
by Eduan
Okay! Glad to be able to help. :)
Just tell me how it goes. ;)

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 9th, 2011, 6:52 am
by gkontos
Looks very good and I am currently performing some sandbox testing with paypal.
A few questions to sum up :)

The customer goes to a page where the product is being displayed. They click on the buy now button and they get redirected to paypal where they successfully pay. So far this has been done successfully with the sandbox environment.
Now, my question is how will the customer return to the protected page ? Will that happen automatically or do I have to declare somewhere that they should be immediately redirected to the protected page ?
The reason I am asking is:

a) That page (protected) will include extra PHP code which will in turn make an API call to an external application confirming the payment.
b) I have no way of testing this since my testing environment is not accessible from the internet.

Thanks for your time!

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 9th, 2011, 8:12 am
by Eduan
Okay,
1. I believe yes, they will be redirected to that page, or at least the leading page of the group.
a) If you're using PHP in the posts I recommend the Exec-PHP plugin, which allows you to use PHP in posts.
b) OK.

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 9th, 2011, 8:52 am
by gkontos
Eduan wrote:Okay,
1. I believe yes, they will be redirected to that page, or at least the leading page of the group.
a) If you're using PHP in the posts I recommend the Exec-PHP plugin, which allows you to use PHP in posts.
b) OK.


After some more tests I saw that it returns me to the following address :
Code: Select all
/?s2member_paypal_return=1


Where a message is displayed:
Code: Select all
Thank You! Your transaction has been approved. Click here to continue


After that it returns to the custom protected page where my custom code will run.

Now, some more questions if you don't mind, sorry about that :roll:

Suppose that we want to sell more than one products with different prices. Here is the real example:

** A customer chooses to buy a product that we resell and we have access to via an API. We will call it "product_a" from now on.

** The customer clicks on the buy now button for product_a and gets redirected to paypal. He then completes the transaction and returns to our landing page.

** Is there a way to get back the information from paypal that the customer is being redirected to our landing page for product_a ?

** Because we will need to make an API call after that in order to reserve product_a from our reseller.

Hope my questions sound reasonable !!!

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 10th, 2011, 2:11 pm
by gkontos
gkontos wrote:Hope my questions sound reasonable !!!

Maybe not :? :?

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 10th, 2011, 4:32 pm
by Eduan
Don't worry, it's not difficult, they DO sound reasonable, I just don't know how to do that. :oops:

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 10th, 2011, 5:13 pm
by gkontos
Eduan wrote:Don't worry, it's not difficult, they DO sound reasonable, I just don't know how to do that. :oops:

:D :D

I understand.Let me give you the whole picture. Besides the other services that I offer,I am trying to set up a domain register "page".
I am a reseller and I can register domains for my customers. So, when the customer chooses to buy now a certain domain name, I have to:

a) redirect them to paypal so they can pay
b) receive notification from paypal that the transaction was successful for the "domain"
c) make an API call to my registrar to reserve that "domain"

To get things more complicated I will need to also send the full customer information like name, address, email etc. ! Another detail is that those API calls will use Perl and not PHP :lol: But that's my problem :roll:

So, if you could help me out a bit on the a, b, c I would really be greatfull!!!

Thanks,

George

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 11th, 2011, 2:00 am
by Cristián Lávaque
Hi George. From what you mention, I believe you'll be interested in s2Member's Notifications API. WP Admin -> s2Member -> API / Notifications

http://www.s2member.com/api-tracking-no ... ons-video/

I hope that helps. :)

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 11th, 2011, 10:06 am
by gkontos
Cristián Lávaque wrote:Hi George. From what you mention, I believe you'll be interested in s2Member's Notifications API. WP Admin -> s2Member -> API / Notifications

http://www.s2member.com/api-tracking-no ... ons-video/

I hope that helps. :)


Hi Cristian,

Excellent features. It looks like s2Member is very powerful with a lot of customizable features.

Thanks,
George

Re: Selling specific items with Paypal Website Payments Stan

PostPosted: November 12th, 2011, 3:05 am
by Cristián Lávaque
:)