-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2140 from SwedbankPay/release/4.8.0
Release 4.8.0 (master)
- Loading branch information
Showing
30 changed files
with
790 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{%- capture url -%} | ||
{%- include utils/documentation-section-url.md | ||
href='/features/technical-reference/payment-url' -%} | ||
{%- endcapture -%} | ||
{%- assign resource=include.resource | default: 'payment order' -%} | ||
{%- capture text -%} | ||
The {% clink `paymentUrl` %}{{ url }}{% endclink %} represents the URL that | ||
Swedbank Pay will redirect back to when the view-operation needs to be loaded, | ||
to inspect and act on the current status of the payment, such as when the payer | ||
is redirected out of the Seamless View (the `<iframe>`) and sent back after | ||
completing the payment. `paymentUrl` is only used in Seamless Views and should | ||
point to the page of where the Payment Order Seamless View is hosted. If both | ||
`cancelUrl` and `paymentUrl` is sent, the `paymentUrl` will used. Trustly will | ||
only be available if the `paymentUrl` is provided while using Seamless View. | ||
With Redirect Trustly will appear regardless. | ||
{%- endcapture -%} | ||
{%- comment -%} | ||
The following chain of Liquid filters converts newlines to spaces and removes | ||
extranous spaces. | ||
{%- endcomment -%} | ||
{{- text | newline_to_br | strip_newlines | split: '<br />' | join: ' ' | strip -}} | ||
{%- comment -%} The dashes in the Liquid code tags remove output space. | ||
More on that here: | ||
|
||
<https://shopify.github.io/liquid/basics/whitespace/> | ||
|
||
It's essential to have control over newlines in this file. If unintentional | ||
newlines sneak into what's rendered by this include, it will break all tables | ||
it is included in, so please beware. | ||
{%- endcomment -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,8 @@ the better. | |
"payer": { | ||
"email": "[email protected]", | ||
"msisdn": "+4798765432", | ||
"firstName": "Olivia", | ||
"lastName": "Nyhuus", | ||
"workPhoneNumber" : "+4787654321", | ||
"homePhoneNumber" : "+4776543210", | ||
"shippingAddress": { | ||
|
@@ -152,7 +154,9 @@ the better. | |
| :---- | :--- | :---------- | | ||
| {% f payer %} | `object` | The payer object. | | ||
| {% f email %} | `string` | Payer's registered email address. | | ||
| {% f msisdn %} | `string` | Payer's registered mobile phone number. | | ||
| {% f msisdn %} | `string` | Payer's registered mobile phone number. | | ||
| {% f firstname %} | `string` | Payers's first name. Please note that this is not the `addressee` or from `shippingAddress`, as they might not be the same as the payer. | | ||
| {% f lastname %} | `string` | Payers's last name. Please note that this is not the `addressee` or `lastName` from `shippingAddress`, as they might not be the same as the payer. | | | ||
| {% f homePhoneNumber %} | `string` | Payer's registered home phone number. | | ||
| {% f workPhoneNumber %} | `string` | Payer's registered work phone number. | | ||
| {% f shippingAddress %} | `object` | The shipping address object related to the `payer`. | | ||
|
@@ -162,6 +166,14 @@ the better. | |
| {% f zipCode, 2 %} | `string` | Payer's zip code. | | ||
| {% f city, 2 %} | `string` | Payer's city of residence. | | ||
| {% f countryCode, 2 %} | `string` | Country Code for the country of residence. | | ||
| {% f billingAddress %} | `object` | The billing address object containing information about the payer's billing address. | | ||
| {% f firstName %} | `string` | The payer's first name. | | ||
| {% f lastName %} | `string` | The payer's last name. | | ||
| ︎ {% f streetAddress %} | `string` | The payer'a street address. Maximum 50 characters long. | | ||
| {% f coAddress %} | `string` | The payer's CO-address (if used). | | ||
| {% f zipCode %} | `string` | The postal number (ZIP code) of the payer. | | ||
| {% f city %} | `string` | The city of the payer. | | ||
| {% f countryCode %} | `string` | `SE`, `NO`, or `FI`. | | ||
|
||
{% endif %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.