How can i get capture details before make payment successful in android

rachnachoudhary
Contributor
Contributor

Hi,

 

I want to store the details while capture call in the app, but not getting any logs. Kindly help me .

As I found in web on capture they get some details like id and all and after payment done they are get the payment details. In both the case they get common id , that will help full our backend update. Please help me.

Login to Me Too
1 REPLY 1

Kavyar
Moderator
Moderator

Good day @rachnachoudhary 

 

Thank you for posting to the PayPal community.

 

I understand that you are looking to retrieve capture details before the payment is successfully completed. Unfortunately, this is not possible. However, I have an alternative method for you to obtain the order details.

 

To fetch the order details, please use the following link: https://developer.paypal.com/docs/api/orders/v2/#orders_get

 

To ensure a successful order completion, please follow the steps outlined below:

 

Merchant should first perform Create Order API( https://developer.paypal.com/docs/api/orders/v2/#orders_create) call and then redirect the customer/buyer to "approve" URL. 

 

Once the order is approved by the customer/buyer, merchant should perform CaptureOrder ( https://developer.paypal.com/docs/api/orders/v2/#orders_capture) API call and customer/buyer should pass the valid funding source.

 

If you are still experiencing issues, please create an MTS ticket via the following URL  - https://www.paypal-support.com/s/?language=en_US  .Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

 

Login to Me Too

Haven't Found your Answer?

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