O'Reilly logo

ADempiere 3.6 Cookbook by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making payment to a PayPal account

In this recipe, we will look at the steps we shall follow in order to post a payment to a PayPal account from ADempiere's Payment window.

Getting ready

Make sure that the adempiere360lts project is set up. You may follow the steps mentioned in Chapter 1 to set up the project and the related database.

How to do it...

  1. Create the PP_PayPal.java file in the<ADEMPIERE_SVN>\tags\adempiere360lts\base\src\org\compiere\model folder and save the following code in it:
    package org.compiere.model; import java.io.Serializable; import com.paypal.sdk.exceptions.PayPalException; import com.paypal.sdk.profiles.APIProfile; import com.paypal.sdk.profiles.ProfileFactory; import com.paypal.sdk.services.CallerServices; import com.paypal.soap.api.AddressType; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required