diff --git a/postman/stripe/Hosted-Fields-Card-Element/README.md b/postman/stripe/Hosted-Fields-Card-Element/README.md index fe4db36..47528f9 100644 --- a/postman/stripe/Hosted-Fields-Card-Element/README.md +++ b/postman/stripe/Hosted-Fields-Card-Element/README.md @@ -17,15 +17,19 @@ In summary: to import the [Stripe Elements Postman Collection](Stripe-elements-H a) Create your Stripe test account. -b) Create a Stripe payment integration in OPF workbench. +b) Install SAP Open Payment Framework app in Stripe dashboard. -c) Set up your Stripe test account to work with OPF. +c) Create a Stripe payment integration in OPF workbench. -d) Prepare the [Postman Environment](Stripe-elements-HOSTED_FIELDS_environment_configuration.json) file so the collection can be imported with all your OPF Tenant and Stripe Test Account unique values. +d) Set up your Stripe test account to work with OPF. + +e) Prepare the [Postman Environment](Stripe-elements-HOSTED_FIELDS_environment_configuration.json) file so the collection can be imported with all your OPF Tenant and Stripe Test Account unique values. ## Creating a Stripe Account ## You can sign up for a free Stripe test account at https://dashboard.stripe.com/register. +## Install SAP Open Payment Framework App in Stripe Dashboard ## +Log in to the Stripe dashboard, then search for "SAP Open Payment Framework" in the app workspace, install the SAP Open Payment Framework app, and on the app setting page, click "View API keys" button to retrieve the Publishable key and Restricted key, we will use those keys in the next step. ## Creating a Stripe Payment Integration Create a Stripe payment integration in the OPF Workbench. For reference, see [Creating Payment Integration @@ -63,21 +67,17 @@ The ``integrationId`` and ``configurationId`` values identify the payment integr * ``configurationId`` maps to ``accountId`` in Postman **4. Secret Key** -The Secret (or Private) Key can be obtained here in the Stripe dashboard. In test it starts with **sk_test**. - - +The secret key (or restricted key in the stripe app) can be obtained through the SAP Open Payment Framework app of Stripe dashboard we mentioned above. In test environment, it starts with **rk_test**. -![](images/stripe-elements-get-secret-key.png) +![](images/stripe-api-secret-key.png) -Replace the ``secretKey`` variable value in the environment file with this value starting with **sk_test**. +Replace the ``secretKey`` variable value in the environment file with this value starting with **rk_test**. **5. Public Key** -The public (or Publishable) key can be obtained here in the Stripe dashboard. In Test it starts with **pk_test** - - +The Public key ( or Publishable key) can alse be obtained through the SAP Open Payment Framework app. In Test environment, it starts with **pk_test**. -![](images/stripe-elements-get-public-key.png) +![](images/stripe-api-public-key.png) Replace the ``publickey`` variable value in the environment file with this value starting with **pk_test**. diff --git a/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-public-key.png b/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-public-key.png new file mode 100644 index 0000000..bfd3158 Binary files /dev/null and b/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-public-key.png differ diff --git a/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-secret-key.png b/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-secret-key.png new file mode 100644 index 0000000..ea0f329 Binary files /dev/null and b/postman/stripe/Hosted-Fields-Card-Element/images/stripe-api-secret-key.png differ diff --git a/postman/stripe/Hosted-Fields/README.md b/postman/stripe/Hosted-Fields/README.md index 12f600b..48bb730 100644 --- a/postman/stripe/Hosted-Fields/README.md +++ b/postman/stripe/Hosted-Fields/README.md @@ -22,15 +22,19 @@ In summary: to import the [Postman Collection](mapping_configuration.json) this a) Create your Stripe test account. -b) Create a Stripe payment integration in OPF workbench. +b) Install SAP Open Payment Framework app in Stripe dashboard. -c) Set up your Stripe test account to work with OPF. +c) Create a Stripe payment integration in OPF workbench. -d) Prepare the [Postman Environment](environment_configuration.json) file so the collection can be imported with all your OPF Tenant and Stripe Test Account unique values. +d) Set up your Stripe test account to work with OPF. + +e) Prepare the [Postman Environment](environment_configuration.json) file so the collection can be imported with all your OPF Tenant and Stripe Test Account unique values. ### Creating a Stripe Account ### You can sign up for a free Stripe test account at https://dashboard.stripe.com/register. +### Install SAP Open Payment Framework App in Stripe Dashboard ### +Log in to the Stripe dashboard, then search for "SAP Open Payment Framework" in the app workspace, install the SAP Open Payment Framework app, and on the app setting page, click "View API keys" button to retrieve the Publishable key and Restricted key, we will use those keys in the next step. ### Creating a Stripe Payment Integration ### Create a Stripe payment integration in the OPF workbench. For reference, see [Creating Payment Integration @@ -67,22 +71,18 @@ The ``integrationId`` and ``configurationId`` values identify the payment integr * ``configurationId`` maps to ``accountId`` in Postman **4. Secret Key** -The Secret (or Private) Key can be obtained here in the Stripe dashboard. In test it starts with **sk_test**. - - +The secret key (or restricted key in the stripe app) can be obtained through the SAP Open Payment Framework app of Stripe dashboard we mentioned above. In test environment, it starts with **rk_test**. -![](images/stripe-elements-get-secret-key.png) +![](images/stripe-api-secret-key.png) -Replace the ``secretKey`` variable value in the environment file with this value starting with **sk_test**. +Replace the ``secretKey`` variable value in the environment file with this value starting with **rk_test**. **5. Public Key** -The public (or Publishable) key can be obtained here in the Stripe dashboard. In Test it starts with **pk_test** - - +The Public key ( or Publishable key) can alse be obtained through the SAP Open Payment Framework app. In Test environment, it starts with **pk_test**. -![](images/stripe-elements-get-public-key.png) +![](images/stripe-api-public-key.png) Replace the ``publickey`` variable value in the environment file with this value starting with **pk_test**. diff --git a/postman/stripe/Hosted-Fields/images/stripe-api-public-key.png b/postman/stripe/Hosted-Fields/images/stripe-api-public-key.png new file mode 100644 index 0000000..bfd3158 Binary files /dev/null and b/postman/stripe/Hosted-Fields/images/stripe-api-public-key.png differ diff --git a/postman/stripe/Hosted-Fields/images/stripe-api-secret-key.png b/postman/stripe/Hosted-Fields/images/stripe-api-secret-key.png new file mode 100644 index 0000000..ea0f329 Binary files /dev/null and b/postman/stripe/Hosted-Fields/images/stripe-api-secret-key.png differ diff --git a/postman/stripe/Payment-Page/README.md b/postman/stripe/Payment-Page/README.md index 1927ee1..1aa7637 100644 --- a/postman/stripe/Payment-Page/README.md +++ b/postman/stripe/Payment-Page/README.md @@ -13,17 +13,21 @@ In summary: to import the [Stripe Hosted Page Postman Collection](Stripe-Hosted_ a) Create your Stripe test account. -b) Create a Stripe payment integration in OPF workbench. +b) Install SAP Open Payment Framework app in Stripe dashboard. -c) Set up your Stripe test account to work with OPF. +c) Create a Stripe payment integration in OPF workbench. -d) Prepare the [Postman Environment](Stripe-Hosted_Page_environment_configuration.json) file so the collection can be imported with all your OPF tenant and Stripe test account unique values. +d) Set up your Stripe test account to work with OPF. + +e) Prepare the [Postman Environment](Stripe-Hosted_Page_environment_configuration.json) file so the collection can be imported with all your OPF tenant and Stripe test account unique values. ## Creating a Stripe Account ## You can sign up for a free Stripe test account at https://dashboard.stripe.com/register. +## Install SAP Open Payment Framework App in Stripe Dashboard ## +Log in to the Stripe dashboard, then search for "SAP Open Payment Framework" in the app workspace, install the SAP Open Payment Framework app, and on the app setting page, click "View API keys" button to retrieve the Publishable key and Restricted key, we will use those keys in the next step. -### Creating a Stripe Payment Integration ### +## Creating a Stripe Payment Integration ### Create a Stripe payment integration in the OPF workbench. For reference, see [Creating Payment Integration ](https://help.sap.com/docs/OPEN_PAYMENT_FRAMEWORK/3580ff1b17144b8780c055bbb7c2bed3/20a64f954df1425391757759011e7e6b.html). @@ -57,21 +61,17 @@ The ``integrationId`` and ``configurationId`` values identify the payment integr * ``configurationId`` maps to ``accountId`` in Postman **4. Secret Key** -The Secret (or Private) Key can be obtained here in the Stripe dashboard. In test it starts with **sk_test**. - - +The secret key (or restricted key in the stripe app) can be obtained through the SAP Open Payment Framework app of Stripe dashboard we mentioned above. In test environment, it starts with **rk_test**. -![](images/stripe-elements-get-secret-key.png) +![](images/stripe-api-secret-key.png) -Replace the ``secretKey`` variable value in the environment file with this value starting with **sk_test**. +Replace the ``secretKey`` variable value in the environment file with this value starting with **rk_test**. **5. Public Key** -The public (or Publishable) key can be obtained here in the Stripe dashboard. In Test it starts with **pk_test**. - - +The Public key ( or Publishable key) can alse be obtained through the SAP Open Payment Framework app. In Test environment, it starts with **pk_test**. -![](images/stripe-elements-get-public-key.png) +![](images/stripe-api-public-key.png) Replace the ``publickey`` variable value in the environment file with this value starting with **pk_test**. diff --git a/postman/stripe/Payment-Page/images/restricted-key-screenshot-pk.png b/postman/stripe/Payment-Page/images/restricted-key-screenshot-pk.png new file mode 100644 index 0000000..27f7a76 Binary files /dev/null and b/postman/stripe/Payment-Page/images/restricted-key-screenshot-pk.png differ diff --git a/postman/stripe/Payment-Page/images/restricted-key-screenshot-rk.png b/postman/stripe/Payment-Page/images/restricted-key-screenshot-rk.png new file mode 100644 index 0000000..a46eeaf Binary files /dev/null and b/postman/stripe/Payment-Page/images/restricted-key-screenshot-rk.png differ diff --git a/postman/stripe/Payment-Page/images/stripe-api-public-key.png b/postman/stripe/Payment-Page/images/stripe-api-public-key.png new file mode 100644 index 0000000..bfd3158 Binary files /dev/null and b/postman/stripe/Payment-Page/images/stripe-api-public-key.png differ diff --git a/postman/stripe/Payment-Page/images/stripe-api-secret-key.png b/postman/stripe/Payment-Page/images/stripe-api-secret-key.png new file mode 100644 index 0000000..ea0f329 Binary files /dev/null and b/postman/stripe/Payment-Page/images/stripe-api-secret-key.png differ