@@ -56,18 +56,6 @@ export function createPaymentsCheckoutRequest(): checkout.PaymentRequest {
5656 } ;
5757}
5858
59- // function createPaymentSessionRequest(): checkout.PaymentSetupRequest {
60- // return {
61- // amount: createAmountObject("USD", 1000),
62- // countryCode: "NL",
63- // merchantAccount,
64- // reference,
65- // returnUrl: "https://your-company.com/...",
66- // channel: checkout.PaymentSetupRequest.ChannelEnum.Web,
67- // sdkVersion: "3.7.0"
68- // };
69- // }
70-
7159function createUpdatePaymentLinkRequest ( ) : checkout . UpdatePaymentLinkRequest {
7260 return {
7361 "status" : checkout . UpdatePaymentLinkRequest . StatusEnum . Expired
@@ -203,20 +191,6 @@ describe("Checkout", (): void => {
203191 . matchHeader ( "Idempotency-Key" , "testKey" ) ;
204192 await checkoutService . PaymentsApi . paymentsDetails ( createPaymentsDetailsRequest ( ) , { idempotencyKey : "testKey" } ) ;
205193
206- // scope.post("/paymentSession")
207- // .reply(200, paymentSessionSuccess)
208- // .matchHeader("Idempotency-Key", "testKey");
209- // const paymentSessionRequest: checkout.PaymentSetupRequest = createPaymentSessionRequest();
210- // await checkoutService.ClassicCheckoutSDKApi.paymentSession(paymentSessionRequest, {idempotencyKey: "testKey"});
211-
212- // scope.post("/payments/result")
213- // .reply(200, paymentsResultSuccess)
214- // .matchHeader("Idempotency-Key", "testKey");
215- // const paymentResultRequest: checkout.PaymentVerificationRequest = {
216- // payload: "This is a test payload",
217- // };
218- // await checkoutService.ClassicCheckoutSDKApi.verifyPaymentResult(paymentResultRequest, {idempotencyKey: "testKey"});
219-
220194 const orderRequest : checkout . CreateOrderRequest = {
221195 amount : createAmountObject ( "USD" , 1000 ) ,
222196 merchantAccount,
0 commit comments