Paypal SDK (Java) - get transaction id

Shprqness
Contributor
Contributor

So how do I get the paypal transaction id, this is the code I have right now:

 

        PaymentExecution paymentExecution = new PaymentExecution();
        paymentExecution.setPayerId(payerId);

        Payment payment = new Payment();
        payment.setId(paymentId);

how do I get the transaction id of the payment that will be used to filter a payment in paypals dashboard. 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.