I used Paypal Express checkout with NVP solution (simple and recurring
payment). You have 2 calls through curl to do (
https://www.x.com/paypal-apis-doexpresscheckoutpayment-php-5.3/nvp) like
setexpresscheckout and then doexpresscheckout for a simple payment.
(createprofilerecurring.. for reccurring payment) You can handle deferred
transaction for recurring payment with IPN (you need to set up the URL in
your business account paypal).

All the documentation (for the variables) you need :

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetExpressCheckout

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_DoExpressCheckoutPayment

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECRecurringPayments

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_CreateRecurringPayments

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables

2012/4/12 Grant Paton-Simpson <[email protected]>

> Hi,
>
> I want to set up a very simple shopping cart with one discount setting
> (full vs student/hardship) and a small handful of software products
> (extensions to my open source SOFA Statistics application
> www.sofastatistics.com). I have been reading about IPN and PDT and
> Express Checkout vs Direct Payment etc and also some PHP libraries like
> https://github.com/pete911/**paypal <https://github.com/pete911/paypal>and
> http://blog.moorberry.biz/**2010/04/paypal-nvp-api/<http://blog.moorberry.biz/2010/04/paypal-nvp-api/>
> .
>
> All I want is for people to be able to buy the extensions by credit card
> (or paypal credit) and for something to be sent to my system so I can
> respond to the successful order. Ideally the user will be returned to the
> SOFA website as well. I can handle the response (saving purchase details to
> a database etc) but I want the rest to be nice and simple for users. I have
> also opted for Express Checkout because I don't have a verified US account
> and Express Checkout should be fine.
>
> Any recommendations? I don't intend to handle refunds or anything else
> very complicated. I am not using an existing PHP framework and would rather
> avoid that sort of dependency if at all possible. The complexity will be
> restricted to how I send the extensions to people and licence them etc.
>
>
> All the best, Grant
>
> --
> NZ PHP Users Group: 
> http://groups.google.com/**group/nzphpug<http://groups.google.com/group/nzphpug>
> To post, send email to [email protected]
> To unsubscribe, send email to
> nzphpug+unsubscribe@**googlegroups.com<nzphpug%[email protected]>




-- 
Clémence Lelong,


8 Finlay terrace, Mount cook
6021 Wellington
Mail: [email protected]

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to