How to Integrate PayPal Adaptive Accounts with PHP

How to Integrate PayPal Adaptive Accounts with PHP

In this article, Andrew walks you step-by-step through the procedure to integrate PayPal’s Adaptive Accounts API using PHP.

This article was published by O’Reilly Media as part of the DevZone within the eBay / PayPal X.Commerce developer website.

Read the full article at X.com

Share:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks

10 comments

  1. In adaptive method it is possible to delay a transfer of funds. We can be able to specify after how much delay the second payment should happen.

    What I currently know is: we must define the delay like we defined 20 days. In this case we won’t be able to interrupt this timing again.

    What I need is:

    We have a seller buyer scenario.

    Seller will send goods to buyer through courier.

    when seller will ship through courier he will insert courier number with the Admin of the site. By having this courier number admin will be sure that the goods will be delivered to buyer and now seller should have the payment.

    At this time can admin release the funds which would auto transfer after 20 days.

    Is there any setting/method/function which we call and execute the second payment early?

    Regards,
    Saryu.

  2. a)Customer visits site and makes a purchase using their credit card (without leaving our site).
    b)i want to implement the “adaptive payment” for payment to our site.
    c)how to process the adaptive payment(without enter to paypal site).

    • If you want to completely avoid any redirect you’ll need to use Payments Pro or Payments Advanced. Adaptive Payments can be done in a lightbox so it looks more tightly integrated into your site/application, or you could also use Preapproval to provide the ability for your customers to do “one click checkout” type payments on your site.

  3. how to do credit card payment similar to DoDirectPayment in Adaptive Payments

    • Unfortunately, this is not an option. Payers can pay with a credit card (guest checkout) but it’s going to happen on the PayPal page. You can’t hide it like you can with DDP.

  4. i am karthik, junior programmer in xxx company .i have 1 year exp in php. i was successfully implement the adaptive payment(chain payment)in our site.but my client want do credit card payment similar to DoDirectPayment in Adaptive Payments(with out going paypal site, payment is completed )

    my English is not good….

    waitting for reply………………..

    • This cannot be done with Adaptive Payments, unfortunately. The best you can do is set it up using a lightbox so it’s tightly integrated into your site.

  5. hi
    paypal Delayed chained payments – I am application/shopping cart owner.

    can delayed chained payment be automatically released to seller
    if buyer confirms delivery – how to do it?

    thanks

    • Hi Manny,

      Sorry for the delay getting back to you. Yes, you would set a primary receiver (probably yourself) to receive the funds. This account would sort of act like an Escrow. Once you get the go-ahead to release the funds you would call ExecutePayment to submit the secondary payments accordingly.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>