Skip to content

Commit

Permalink
Edit comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese committed Sep 26, 2024
1 parent dac7548 commit 1e39190
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.UUID;

import com.adyen.checkout.ApplicationProperty;
Expand Down Expand Up @@ -110,7 +109,16 @@ public ResponseEntity<PaymentResponse> payments(@RequestHeader String host, @Req

// we strongly recommend that you the billingAddress in your request
// card schemes require this for channel web, iOS, and Android implementations
//paymentRequest.setBillingAddress(new Address());
// paymentRequest.setBillingAddress(new BillingAddress()
// .city("Amsterdam")
// .country("NL")
// .postalCode("1234AA")
// .street("Street 1")
// .houseNumberOrName("1"));

// emailShopper recommended for fraud checks
// paymentRequest.setShopperEmail("[email protected]");

log.info("REST request to make Adyen payment {}", paymentRequest);
var response = paymentsApi.payments(paymentRequest);
return ResponseEntity.ok()
Expand Down

0 comments on commit 1e39190

Please sign in to comment.