From 491839882545a0f21fad74244fdd4f7cf11e0372 Mon Sep 17 00:00:00 2001 From: Majid Abbasi Date: Thu, 12 Oct 2023 13:53:09 +0200 Subject: [PATCH 1/3] #34974 added venmo as demo option --- src/App.tsx | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index de6fe29..fd309ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,7 @@ import { HostedFields } from "./components/HostedFields"; const CC_FRONTEND_EXTENSION_VERSION: string = "devmajidabbasi"; const FRONTASTIC_SESSION: string = - "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjYXJ0SWQiOiI5MWMyZDUxOS0zZDgwLTQwODYtYjMyMS03ZmM1MDNmZDYyMGYiLCJ3aXNobGlzdElkIjoiMGQ1NDM2NjEtMDA0OS00MDY1LTlkZWYtYWY3NTY3MjdiMTJkIn0.-lqUW_tQUd9KzmWHV0hygcGsxOuabK8UkfNciEEmAXQ"; + "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjYXJ0SWQiOiJiN2Q5ZTViNi02ZTRmLTQzODQtYjk4MS03M2FlNGU4ZmMyNzIifQ.w_J8wBLsFmXoKRzS4OQV-DhAILC9Fy5MRpElc3TegVM"; function App() { const [choosenPaymentMethod, setChoosenPaymentMethod] = useState(""); @@ -24,18 +24,18 @@ function App() { lastName: "Smith", streetName: "Hochstraße", streetNumber: "37", - city: "Berlin", - country: "DE", - postalCode: "12045", + city: "New York", + country: "US", + postalCode: "NY 11375", }, shipping: { firstName: "John", lastName: "Smith", streetName: "Hochstraße", streetNumber: "37", - city: "Berlin", - country: "DE", - postalCode: "12045", + city: "New York", + country: "US", + postalCode: "NY 11375", }, }; @@ -63,8 +63,8 @@ function App() { const options = { clientId: - "AQlyw_Usbq3XVXnbs2JfrtmDAzJ2ECVzs4WM7Nm9QkoOWb8_s_C6-bkgs0o4ggzCYp_RhJO5OLS_sEi9", - currency: "EUR", + "AaZY2PZLwQQl8XI_p9UJyH50Xo_xuLrtD3og6kVrQ2oKVQg4UriIcAHoJPa1hsaI56lNk3Jg6kqTdCYi", + currency: "USD", }; const payPalMessagesParams: PayPalMessagesComponentProps = { @@ -95,6 +95,19 @@ function App() { fundingSource="paypal" /> ), + Venmo: ( + + ), BuyNowPayPal: ( Date: Thu, 12 Oct 2023 13:57:40 +0200 Subject: [PATCH 2/3] #34974 added venmo as demo option --- src/App.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index fd309ef..2fce13d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,7 @@ import { HostedFields } from "./components/HostedFields"; const CC_FRONTEND_EXTENSION_VERSION: string = "devmajidabbasi"; const FRONTASTIC_SESSION: string = - "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjYXJ0SWQiOiJiN2Q5ZTViNi02ZTRmLTQzODQtYjk4MS03M2FlNGU4ZmMyNzIifQ.w_J8wBLsFmXoKRzS4OQV-DhAILC9Fy5MRpElc3TegVM"; + "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3aXNobGlzdElkIjoiODg4OWQ4ZTYtNTcxOC00OTdjLWI3ZDgtYjBkYmM0OWIxNDkwIiwiY2FydElkIjoiMjJjOTVlYWItN2MyYy00ZjJmLTgxNDMtMzVlNzNhM2JmYTYwIn0.CbsE3rxtmU5qrDgoD3-6CKUo7on6k5jswpDmywNBZVo"; function App() { const [choosenPaymentMethod, setChoosenPaymentMethod] = useState(""); @@ -24,18 +24,18 @@ function App() { lastName: "Smith", streetName: "Hochstraße", streetNumber: "37", - city: "New York", - country: "US", - postalCode: "NY 11375", + city: "Berlin", + country: "DE", + postalCode: "12045", }, shipping: { firstName: "John", lastName: "Smith", streetName: "Hochstraße", streetNumber: "37", - city: "New York", - country: "US", - postalCode: "NY 11375", + city: "Berlin", + country: "DE", + postalCode: "12045", }, }; @@ -63,8 +63,8 @@ function App() { const options = { clientId: - "AaZY2PZLwQQl8XI_p9UJyH50Xo_xuLrtD3og6kVrQ2oKVQg4UriIcAHoJPa1hsaI56lNk3Jg6kqTdCYi", - currency: "USD", + "AQlyw_Usbq3XVXnbs2JfrtmDAzJ2ECVzs4WM7Nm9QkoOWb8_s_C6-bkgs0o4ggzCYp_RhJO5OLS_sEi9", + currency: "EUR", }; const payPalMessagesParams: PayPalMessagesComponentProps = { From 9890b67833a2ce7c785ef318e22d48c843542701 Mon Sep 17 00:00:00 2001 From: Majid Abbasi Date: Mon, 16 Oct 2023 11:58:00 +0200 Subject: [PATCH 3/3] #34974 increased version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index be34726..008c903 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "paypal-commercetools-client", - "version": "0.0.43", + "version": "0.0.44", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "paypal-commercetools-client", - "version": "0.0.43", + "version": "0.0.44", "license": "MIT", "dependencies": { "@heroicons/react": "^1.0.6", diff --git a/package.json b/package.json index da43832..368bae4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paypal-commercetools-client", - "version": "0.0.43", + "version": "0.0.44", "private": false, "type": "module", "license": "MIT",