Simone Buzzi
Simone Buzzi

Reputation: 76

Paypal express checkout java

I'm integrating paypal express checkout on one website and I'm using PaypalFunctions.java that I've download in the customized example.

I've successfull called, in development environment, the ppf.callMarkExpressCheckout and after login on Paypal page I've correctly reached my confirmation page where i catch the payerId from the request.

I can't understand if the process is complete or I need to make a further step to get money and end the process. I have this doubt because the process and the methods name is quite different than the one described in https://developer.paypal.com/docs/classic/express-checkout/gs_expresscheckout/ and I don't receive any mail from paypal dev environment

Kind regards

Upvotes: 0

Views: 1123

Answers (2)

Eshan
Eshan

Reputation: 3677

In express checkout , once the buyer comes to your return url after confirming the Payments from their account you need to call the "DoExpressCheckout" API using the token and the payer id you received on your return url . Until this step completes , No payment will be recorded and hence no emails will be sent out . You can check the documentation for "DoExpressCheckout " API here :

https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/DoExpressCheckoutPayment_API_Operation_NVP/

https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec-singleItemPayment-curl-etc/

Upvotes: 1

BetaRide
BetaRide

Reputation: 16834

If I got you right, you don't know how pay pal gets back to you. Look for 'returnUrl' (and 'cancelUrl') in https://developer.paypal.com/docs/classic/express-checkout/gs_expresscheckout/ . That's URL pay pal calls on your application once the user authorized the payment on the pay pal site.

Upvotes: 0

Related Questions