Created
June 10, 2021 21:26
-
-
Save NajeebArif/6144c07d3146956a1072f549034dbd64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
@Override | |
@SneakyThrows | |
public void captureOrder(String orderId) { | |
final OrdersCaptureRequest ordersCaptureRequest = new OrdersCaptureRequest(orderId); | |
final HttpResponse<Order> httpResponse = payPalHttpClient.execute(ordersCaptureRequest); | |
log.info("Order Capture Status: {}",httpResponse.result().status()); | |
} | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment