[nycphp-talk] Subscription Billing and Querying account status
Kenneth Downs
ken at secdat.com
Mon Apr 30 10:40:27 EDT 2007
That's the whole Payapl IPN system. Download their demo code and dig
through it and ask questions here.
In a nutshell, when you send somebody to paypal, you populate this array
and call some code the provide to you, which redirects the user to Paypal.
Once the user pays, Paypal makes a POST to your server that contains all
of the information on the payment. You have to be able to process this
unseen, as the user doesn't know its happening, and you can't watch it.
My code logs these events with lots of detail at each step so I can
always see what happened on every payment.
Then, when the user is done, they are sent back to your site, and you
need a page for that too, the "Thanks for ordering, we're all done" page.
Ben Sgro (ProjectSkyline) wrote:
> Hello Kenneth,
>
> What is "the paypal success call comes"? - A confirmation email?
>
> - Ben
>
> ----- Original Message -----
> *From:* Kenneth Downs <mailto:ken at secdat.com>
> *To:* NYPHP Talk <mailto:talk at lists.nyphp.org>
> *Sent:* Monday, April 30, 2007 10:25 AM
> *Subject:* Re: [nycphp-talk] Subscription Billing and Querying
> account status
>
> Ben Sgro (ProjectSkyline) wrote:
>> Hello Kenneth,
>>
>> The first, but most likely both situations.
>
> I haven't done the first, but I have done the second. We do it
> the other way around from what you are describing. When a person
> subscribes, we send them to paypal for payment. When the paypal
> success call comes through, we mark them subscribed to whatever
> issues they have paid for. From there we don't have to ask
> paypal, we just query our own database on each resource access
> attempt.
>>
>> - Ben
>>
>> ----- Original Message -----
>> *From:* Kenneth Downs <mailto:ken at secdat.com>
>> *To:* NYPHP Talk <mailto:talk at lists.nyphp.org>
>> *Sent:* Monday, April 30, 2007 10:14 AM
>> *Subject:* Re: [nycphp-talk] Subscription Billing and Querying
>> account status
>>
>> Are you talking about automatic monthly renewals, or cases
>> where a person might subscribe for the year and you just want
>> to know at any given moment if they've subscribed?
>>
>>
>> Ben Sgro (ProjectSkyline) wrote:
>>> Hello,
>>>
>>> I'm using paypal to take CC payments from clients.
>>>
>>> One of our products, is subscription based, and I need to be
>>> able to
>>> check if the client has paid for the month. And if not, I'd
>>> like to suspend
>>> access.
>>>
>>> Can this be done w/paypal.
>>>
>>> If not, what type of E-Commerce or Merchant account allows
>>> that?
>>>
>>> Currently, I just have a link directly to paypal, and once
>>> they pay, I create the account.
>>>
>>> I'd like to automate this process, be able to query the
>>> account status, and even
>>> send out reoccuring billing/invoices.
>>>
>>> Any ideas/experiances?
>>>
>>> Thanks!
>>>
>>> - Ben
>>>
>>> _______________________________________________
>>> New York PHP Community Talk Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/talk
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>
>>
>> --
>> Kenneth Downs
>> Secure Data Software, Inc.
>> www.secdat.com <http://www.secdat.com> www.andromeda-project.org <http://www.andromeda-project.org>
>> 631-379-7200 Fax: 631-689-0527
>>
>>
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>>
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>
>
> --
> Kenneth Downs
> Secure Data Software, Inc.
> www.secdat.com <http://www.secdat.com> www.andromeda-project.org <http://www.andromeda-project.org>
> 631-379-7200 Fax: 631-689-0527
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
--
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com www.andromeda-project.org
631-379-7200 Fax: 631-689-0527
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070430/94d8dd29/attachment.html>
More information about the talk
mailing list