PAYMENT.CAPTURE.COMPLETED Webhooks Aren't Sent

dimedaughter
Contributor
Contributor

PayPal isn't sending the PAYMENT.CAPTURE.COMPLETED webhook in the sandbox, despite a successful CHECKOUT.ORDER.APPROVED webhook being received and processed (this webhook contains no captures) and the order being submitted with the CAPTURE intent.

 

There's also no capture event in the API call history.

 

Tried creating a new app and retrying with the new client ID/secret but the issue persists.

 

Sounds like the same issue mentioned in this post, though this was marked as resolved without any solution being posted, which helps nobody.

Login to Me Too
2 REPLIES 2

vaishnavib
Moderator
Moderator

Good day @dimedaughter,

 

Thank you for posting to the PayPal community.

 

I would like to provide you with some suggestions on how to address the issue you are currently facing. Please follow the steps below:

 

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

 

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

 

  1. After the payment is completed, the PAYMENT.CAPTURE.COMPLETED webhook will be triggered.

 

  1. Lastly, please make sure to process a test payment via a card that is not linked to your PayPal account. This is because merchants are unable to perform self-payments.

 

If you are still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Vaishnavi

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

dimedaughter
Contributor
Contributor

Ah, I see, so even though it's supplied with the CAPTURE intent, it needs to be captured manually by me?

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.