Skip to content

Commit

Permalink
DEVP-390: Renamed to Action Specific Text On Payment Button
Browse files Browse the repository at this point in the history
  • Loading branch information
arebra committed May 7, 2024
1 parent 5d77f35 commit 01a5faf
Show file tree
Hide file tree
Showing 20 changed files with 105 additions and 97 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions _includes/payment-order-3-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"contentType": "application/json"
}
]
}
{% endcapture %}
}{% endcapture %}

{% include code-example.html
title='Response'
Expand Down
Original file line number Diff line number Diff line change
@@ -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 %}
2 changes: 1 addition & 1 deletion checkout-v3/features/optional/afd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion checkout-v3/features/optional/age-restrictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion checkout-v3/features/optional/corporate-limited-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion checkout-v3/features/optional/custom-logo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion checkout-v3/features/optional/custom-styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
39 changes: 21 additions & 18 deletions checkout-v3/features/optional/delete-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,29 @@ deleting the token. No other states are supported.

## Delete payerOwnedToken Request

{:.code-view-header}
**Request**

```http
PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
Host: {{ page.api_host }}
Authorization: Bearer <AccessToken>
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}",
Expand Down Expand Up @@ -77,5 +75,10 @@ Content-Type: application/json
}
]
}
}
```
}{% endcapture %}

{% include code-example.html
title='Response'
header=response_header
json= response_content
%}
12 changes: 0 additions & 12 deletions checkout-v3/features/optional/deposit-on-payment-button.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
41 changes: 22 additions & 19 deletions old-implementations/checkout-v2/features/optional/delete-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,31 +16,29 @@ icon:

## Delete payerOwnedToken Request

{:.code-view-header}
**Request**

```http
PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
Host: {{ page.api_host }}
Authorization: Bearer <AccessToken>
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}",
Expand Down Expand Up @@ -70,5 +68,10 @@ Content-Type: application/json
}
]
}
}
```
}{% endcapture %}

{% include code-example.html
title='Response'
header=response_header
json= response_content
%}
Original file line number Diff line number Diff line change
@@ -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 %}
Original file line number Diff line number Diff line change
@@ -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 %}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,31 +16,29 @@ icon:

## Delete payerOwnedToken Request

{:.code-view-header}
**Request**

```http
PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
{% capture request_header %}PATCH /psp/paymentorders/payerownedtokens/<payerReference> HTTP/1.1
Host: {{ page.api_host }}
Authorization: Bearer <AccessToken>
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}",
Expand Down Expand Up @@ -70,5 +68,10 @@ Content-Type: application/json
}
]
}
}
```
}{% endcapture %}

{% include code-example.html
title='Response'
header=response_header
json= response_content
%}

This file was deleted.

0 comments on commit 01a5faf

Please sign in to comment.