diff --git a/_includes/dopb.md b/_includes/astopb.md similarity index 100% rename from _includes/dopb.md rename to _includes/astopb.md diff --git a/_includes/payment-order-3-1.md b/_includes/payment-order-3-1.md index 88c22e1499..a345d96206 100644 --- a/_includes/payment-order-3-1.md +++ b/_includes/payment-order-3-1.md @@ -170,8 +170,7 @@ api-supported-versions: 3.x/2.0{% endcapture %} "contentType": "application/json" } ] -} - {% endcapture %} +}{% endcapture %} {% include code-example.html title='Response' diff --git a/checkout-v3/features/optional/action-specific-text-on-payment-button.md b/checkout-v3/features/optional/action-specific-text-on-payment-button.md new file mode 100644 index 0000000000..21d200fbf8 --- /dev/null +++ b/checkout-v3/features/optional/action-specific-text-on-payment-button.md @@ -0,0 +1,12 @@ +--- +title: Action Specific Text On Payment Button +permalink: /:path/action-specific-text-on-payment-button/ +description: | + Change the text on your payment button +menu_order: 1300 +icon: + content: call_to_action + outlined: true +--- + +{% include astopb.md %} diff --git a/checkout-v3/features/optional/afd.md b/checkout-v3/features/optional/afd.md index 2fa5a9de3a..fce3dcbbed 100644 --- a/checkout-v3/features/optional/afd.md +++ b/checkout-v3/features/optional/afd.md @@ -3,7 +3,7 @@ title: Automated Fuel Dispenser Payments permalink: /:path/afd/ description: | Payments for automated fuel dispensers. -menu_order: 1300 +menu_order: 1400 icon: content: local_gas_station outlined: true diff --git a/checkout-v3/features/optional/age-restrictions.md b/checkout-v3/features/optional/age-restrictions.md index a060084cc8..f1a92a2e37 100644 --- a/checkout-v3/features/optional/age-restrictions.md +++ b/checkout-v3/features/optional/age-restrictions.md @@ -3,7 +3,7 @@ title: Age Restrictions permalink: /:path/age-restrictions/ description: | Restricting payments to an age limit -menu_order: 1400 +menu_order: 1500 icon: content: lock outlined: true diff --git a/checkout-v3/features/optional/corporate-limited-menu.md b/checkout-v3/features/optional/corporate-limited-menu.md index 34fadbb9d2..5d4ce133fa 100644 --- a/checkout-v3/features/optional/corporate-limited-menu.md +++ b/checkout-v3/features/optional/corporate-limited-menu.md @@ -3,7 +3,7 @@ title: Corporate Limited Menu permalink: /:path/corporate-limited-menu/ description: Limit the selectable instruments to those that support corporate payment methods. -menu_order: 1500 +menu_order: 1600 icon: content: link outlined: true diff --git a/checkout-v3/features/optional/custom-logo.md b/checkout-v3/features/optional/custom-logo.md index 8169983d05..782a8a6dda 100644 --- a/checkout-v3/features/optional/custom-logo.md +++ b/checkout-v3/features/optional/custom-logo.md @@ -3,7 +3,7 @@ title: Custom Logo permalink: /:path/custom-logo/ description: | How to add your own logo. -menu_order: 1600 +menu_order: 1700 icon: content: copyright outlined: true diff --git a/checkout-v3/features/optional/custom-styling.md b/checkout-v3/features/optional/custom-styling.md index 405587f5fc..ff58a753b4 100644 --- a/checkout-v3/features/optional/custom-styling.md +++ b/checkout-v3/features/optional/custom-styling.md @@ -3,7 +3,7 @@ title: Custom Styling permalink: /:path/custom-styling/ description: | Styling your payment UI. -menu_order: 1700 +menu_order: 1800 icon: content: palette outlined: true diff --git a/checkout-v3/features/optional/delete-token.md b/checkout-v3/features/optional/delete-token.md index 7f5be5ec4b..e127c4b853 100644 --- a/checkout-v3/features/optional/delete-token.md +++ b/checkout-v3/features/optional/delete-token.md @@ -23,31 +23,29 @@ deleting the token. No other states are supported. ## Delete payerOwnedToken Request -{:.code-view-header} -**Request** - -```http -PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 +{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 Host: {{ page.api_host }} Authorization: Bearer -Content-Type: application/json +Content-Type: application/json;version=3.1/2.0{% endcapture %} -{ +{% capture request_content %}{ "state": "Deleted", "comment": "Comment stating why this is being deleted" -} -``` +}{% endcapture %} -## Delete payerownedToken Response +{% include code-example.html + title='Request' + header=request_header + json= request_content + %} -{:.code-view-header} -**Response** +## Delete payerownedToken Response -```http -HTTP/1.1 200 OK -Content-Type: application/json +{% capture response_header %}HTTP/1.1 200 OK +Content-Type: application/json; charset=utf-8; version=3.1 +api-supported-versions: 3.x/2.0{% endcapture %} -{ +{% capture response_content %}{ "payerOwnedTokens": { "id": "/psp/paymentorders/payerownedtokens/{payerReference}", "payerReference": "{payerReference}", @@ -77,5 +75,10 @@ Content-Type: application/json } ] } -} -``` +}{% endcapture %} + +{% include code-example.html + title='Response' + header=response_header + json= response_content + %} diff --git a/checkout-v3/features/optional/deposit-on-payment-button.md b/checkout-v3/features/optional/deposit-on-payment-button.md deleted file mode 100644 index 8d43b735b5..0000000000 --- a/checkout-v3/features/optional/deposit-on-payment-button.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Deposit On Payment Button -permalink: /:path/deposit-on-payment-button/ -description: | - Change the text on you payment button -menu_order: 2000 -icon: - content: call_to_action - outlined: true ---- - -{% include dopb.md %} diff --git a/old-implementations/checkout-v2/features/optional/custom-logo.md b/old-implementations/checkout-v2/features/optional/custom-logo.md index 7afc2881fc..27da89d2ba 100644 --- a/old-implementations/checkout-v2/features/optional/custom-logo.md +++ b/old-implementations/checkout-v2/features/optional/custom-logo.md @@ -2,7 +2,7 @@ title: Custom Logo permalink: /:path/custom-logo/ description: How to add your own logo. -menu_order: 1300 +menu_order: 1400 icon: content: copyright outlined: true diff --git a/old-implementations/checkout-v2/features/optional/custom-styling.md b/old-implementations/checkout-v2/features/optional/custom-styling.md index 26a03273df..f529a575d9 100644 --- a/old-implementations/checkout-v2/features/optional/custom-styling.md +++ b/old-implementations/checkout-v2/features/optional/custom-styling.md @@ -3,7 +3,7 @@ title: Custom Styling permalink: /:path/custom-styling/ description: | Styling your payment UI. -menu_order: 1400 +menu_order: 1500 icon: content: palette outlined: true diff --git a/old-implementations/checkout-v2/features/optional/delete-token.md b/old-implementations/checkout-v2/features/optional/delete-token.md index ee7ae9df1a..1f8ea19fae 100644 --- a/old-implementations/checkout-v2/features/optional/delete-token.md +++ b/old-implementations/checkout-v2/features/optional/delete-token.md @@ -2,7 +2,7 @@ title: Delete Token permalink: /:path/delete-token/ description: How to delete tokens. -menu_order: 1500 +menu_order: 1600 icon: content: assignment outlined: true @@ -16,31 +16,29 @@ icon: ## Delete payerOwnedToken Request -{:.code-view-header} -**Request** - -```http -PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 +{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 Host: {{ page.api_host }} Authorization: Bearer -Content-Type: application/json +Content-Type: application/json;version=3.1/2.0{% endcapture %} -{ +{% capture request_content %}{ "state": "Deleted", "comment": "Comment stating why this is being deleted" -} -``` +}{% endcapture %} -## Delete payerownedToken Response +{% include code-example.html + title='Request' + header=request_header + json= request_content + %} -{:.code-view-header} -**Response** +## Delete payerownedToken Response -```http -HTTP/1.1 200 OK -Content-Type: application/json +{% capture response_header %}HTTP/1.1 200 OK +Content-Type: application/json; charset=utf-8; version=3.1 +api-supported-versions: 3.x/2.0{% endcapture %} -{ +{% capture response_content %}{ "payerOwnedTokens": { "id": "/psp/paymentorders/payerownedtokens/{payerReference}", "payerReference": "{payerReference}", @@ -70,5 +68,10 @@ Content-Type: application/json } ] } -} -``` +}{% endcapture %} + +{% include code-example.html + title='Response' + header=response_header + json= response_content + %} diff --git a/old-implementations/checkout-v2/features/optional/deposit-on-payment-button.md b/old-implementations/checkout-v2/features/optional/deposit-on-payment-button.md index 0eecbca33e..21d200fbf8 100644 --- a/old-implementations/checkout-v2/features/optional/deposit-on-payment-button.md +++ b/old-implementations/checkout-v2/features/optional/deposit-on-payment-button.md @@ -1,12 +1,12 @@ --- -title: Deposit On Payment Button -permalink: /:path/deposit-on-payment-button/ +title: Action Specific Text On Payment Button +permalink: /:path/action-specific-text-on-payment-button/ description: | - Change the text on you payment button -menu_order: 1600 + Change the text on your payment button +menu_order: 1300 icon: content: call_to_action outlined: true --- -{% include dopb.md %} +{% include astopb.md %} diff --git a/old-implementations/payment-menu-v2/features/optional/action-specific-text-on-payment-button.md b/old-implementations/payment-menu-v2/features/optional/action-specific-text-on-payment-button.md new file mode 100644 index 0000000000..21d200fbf8 --- /dev/null +++ b/old-implementations/payment-menu-v2/features/optional/action-specific-text-on-payment-button.md @@ -0,0 +1,12 @@ +--- +title: Action Specific Text On Payment Button +permalink: /:path/action-specific-text-on-payment-button/ +description: | + Change the text on your payment button +menu_order: 1300 +icon: + content: call_to_action + outlined: true +--- + +{% include astopb.md %} diff --git a/old-implementations/payment-menu-v2/features/optional/corporate-limited-menu.md b/old-implementations/payment-menu-v2/features/optional/corporate-limited-menu.md index 2844b4ea86..944cd467c8 100644 --- a/old-implementations/payment-menu-v2/features/optional/corporate-limited-menu.md +++ b/old-implementations/payment-menu-v2/features/optional/corporate-limited-menu.md @@ -3,7 +3,7 @@ title: Corporate Limited Menu permalink: /:path/corporate-limited-menu/ description: Limit the selectable instruments to those that support corporate payment methods. -menu_order: 1300 +menu_order: 1400 icon: content: link outlined: true diff --git a/old-implementations/payment-menu-v2/features/optional/custom-logo.md b/old-implementations/payment-menu-v2/features/optional/custom-logo.md index fccfe7bd0c..9ab95ecda7 100644 --- a/old-implementations/payment-menu-v2/features/optional/custom-logo.md +++ b/old-implementations/payment-menu-v2/features/optional/custom-logo.md @@ -3,7 +3,7 @@ title: Custom Logo permalink: /:path/custom-logo/ description: | How to add your own logo -menu_order: 1400 +menu_order: 1500 icon: content: copyright outlined: true diff --git a/old-implementations/payment-menu-v2/features/optional/custom-styling.md b/old-implementations/payment-menu-v2/features/optional/custom-styling.md index f529a575d9..445ac2a382 100644 --- a/old-implementations/payment-menu-v2/features/optional/custom-styling.md +++ b/old-implementations/payment-menu-v2/features/optional/custom-styling.md @@ -3,7 +3,7 @@ title: Custom Styling permalink: /:path/custom-styling/ description: | Styling your payment UI. -menu_order: 1500 +menu_order: 1600 icon: content: palette outlined: true diff --git a/old-implementations/payment-menu-v2/features/optional/delete-token.md b/old-implementations/payment-menu-v2/features/optional/delete-token.md index 7d923684e5..6ce242ff9d 100644 --- a/old-implementations/payment-menu-v2/features/optional/delete-token.md +++ b/old-implementations/payment-menu-v2/features/optional/delete-token.md @@ -2,7 +2,7 @@ title: Delete Token permalink: /:path/delete-token/ description: How to delete tokens. -menu_order: 1600 +menu_order: 1700 icon: content: assignment outlined: true @@ -16,31 +16,29 @@ icon: ## Delete payerOwnedToken Request -{:.code-view-header} -**Request** - -```http -PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 +{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/ HTTP/1.1 Host: {{ page.api_host }} Authorization: Bearer -Content-Type: application/json +Content-Type: application/json;version=3.1/2.0{% endcapture %} -{ +{% capture request_content %}{ "state": "Deleted", "comment": "Comment stating why this is being deleted" -} -``` +}{% endcapture %} -## Delete payerownedToken Response +{% include code-example.html + title='Request' + header=request_header + json= request_content + %} -{:.code-view-header} -**Response** +## Delete payerownedToken Response -```http -HTTP/1.1 200 OK -Content-Type: application/json +{% capture response_header %}HTTP/1.1 200 OK +Content-Type: application/json; charset=utf-8; version=3.1 +api-supported-versions: 3.x/2.0{% endcapture %} -{ +{% capture response_content %}{ "payerOwnedTokens": { "id": "/psp/paymentorders/payerownedtokens/{payerReference}", "payerReference": "{payerReference}", @@ -70,5 +68,10 @@ Content-Type: application/json } ] } -} -``` +}{% endcapture %} + +{% include code-example.html + title='Response' + header=response_header + json= response_content + %} diff --git a/old-implementations/payment-menu-v2/features/optional/deposit-on-payment-button.md b/old-implementations/payment-menu-v2/features/optional/deposit-on-payment-button.md deleted file mode 100644 index d3722dd51d..0000000000 --- a/old-implementations/payment-menu-v2/features/optional/deposit-on-payment-button.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Deposit On Payment Button -permalink: /:path/deposit-on-payment-button/ -description: | - Change the text on you payment button -menu_order: 1700 -icon: - content: call_to_action - outlined: true ---- - -{% include dopb.md %}