cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal SDK (Java) - get transaction id

Highlighted
Contributor

Paypal SDK (Java) - get transaction id

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.