mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
[PW-3895] update checkout API version (#638)
* [PW-3895] update checkout API version * add peterojo to code owners * [PW-3895] fix broken test
This commit is contained in:
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -1 +1 @@
|
||||
* @KadoBOT @zaiddreakh @maassenbas @msilvagarcia @AlexandrosMor
|
||||
* @zaiddreakh @maassenbas @msilvagarcia @AlexandrosMor @peterojo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@adyen/api-library",
|
||||
"version": "6.0.3",
|
||||
"version": "7.0.0",
|
||||
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
||||
@@ -67,8 +67,6 @@ export function createPaymentsCheckoutRequest(): ICheckout.PaymentRequest {
|
||||
paymentMethod: paymentMethodDetails,
|
||||
reference,
|
||||
returnUrl: "https://your-company.com/...",
|
||||
enableRecurring: true,
|
||||
enableOneClick: true,
|
||||
shopperReference: "shopperReference",
|
||||
storePaymentMethod: true
|
||||
};
|
||||
|
||||
@@ -52,6 +52,7 @@ class Client {
|
||||
public static HPP_LIVE = "https://live.adyen.com/hpp";
|
||||
public static MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services";
|
||||
public static MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services";
|
||||
public static CHECKOUT_API_VERSION = "v66";
|
||||
public static API_VERSION = "v64";
|
||||
public static RECURRING_API_VERSION = "v49";
|
||||
public static MARKETPAY_ACCOUNT_API_VERSION = "v6";
|
||||
@@ -63,7 +64,6 @@ class Client {
|
||||
public static LIB_VERSION: string = version;
|
||||
public static CHECKOUT_ENDPOINT_TEST = "https://checkout-test.adyen.com/checkout";
|
||||
public static CHECKOUT_ENDPOINT_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout";
|
||||
public static CHECKOUT_API_VERSION = "v64";
|
||||
public static BIN_LOOKUP_PAL_SUFFIX = "/pal/servlet/BinLookup/";
|
||||
public static BIN_LOOKUP_API_VERSION = "v50";
|
||||
public static TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com";
|
||||
|
||||
Reference in New Issue
Block a user