yourarthere.net

PayPal Integration

Posted in backend by callibeth on April 8, 2010

Payment for hosting accounts is currently made through PayPal. It would be good to be able to integrate the website database with PayPal in order to keep up with members’ payment status.

Because PayPal is involved in making secure transactions work, its API works differently than other APIs I’ve looked at.
What is available depends on what method you’re using with PayPal – Website Payments Standard, Website Payments Pro, or Express Checkout. Which is used for web hosting? This web page discusses the integration methods possible. The GetTransactionDetails API looks promising, but it may be too limited for our purpose. NVP or SOAP may be used to search for information about a transaction by the transactionID. There’s also a TransactionSearch API, which could be useful if you issue an InvoiceID. Here’s a link to more information.

Advertisements
Tagged with:

One Response

Subscribe to comments with RSS.

  1. Brittany said, on April 8, 2010 at 11:10 pm

    After doing some more research on PayPal and how to integrate it with CodeIgniter, I found the PayPal NVP API Library:

    http://codeigniter.com/wiki/PayPal_NVP_API_Lib/

    It includes the PayPal Lib that has the PayPal IPN feature. Instant Payment Notification (IPN) is PayPal’s message service that sends a notification when a transaction is affected. Once IPN is integrated, sellers can automate their back office so they don’t have to wait for payments to come in to trigger order fulfillment. Read more about it here:

    https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside

    As Beth mentioned, the PayPal API is one way we can also keep up with members’ payment status. Something that might be better than GetTransactionDetails, ManageRecurringPaymentsProfileStatus is another API call. View its details below:

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

    Basically it grants what the title says: Cancel, suspend, or reactivate a recurring payments profile. I think this is what we were looking for. View other calls at the PayPal API reference website below:

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


Comments are closed.

%d bloggers like this: