Skip to content

Latest commit

 

History

History
529 lines (424 loc) · 14.1 KB

File metadata and controls

529 lines (424 loc) · 14.1 KB
title description menu_order sidebar_icon table_content_mac table_content_payments tab_list
Home
The index page. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
0
home
label merchantSide
Authentication
true
label merchantSide
Delivery Info
true
label swedbankPay
Consumer Info
true
label swedbankPay
PSP
true
label merchantSide
Authentication
true
label merchantSide
Delivery Info
true
label merchantSide
Consumer Info
true
label swedbankPay
PSP
true
title content_text content_src
Tab 1
Some intro text for tab 1.
example-1.md
title content_src
Tab 2
example-2.md
title content_text content_src mark_with_star
Tab 3
Tab 3 intro text
example-3.md
true

Text can be bold, italic, or strikethrough.

  • External absolute full link
  • Internal absolute full link
  • Internal explicit relative link
  • Internal implicit relative link
  • Internal absolute link

There should be whitespace between paragraphs.

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.


Header 2

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

This is a blockquote following a header.

When something is important enough, you do it even if the odds are not in your favor.


Header 3

This is a normal paragraph following a header 3.


Header 4

  • This is an unordered list following a header 4.
  • This is an unordered list following a header 4.
  • This is an unordered list following a header 4.

Header 5
  1. This is an ordered list following a header 5.
  2. This is an ordered list following a header 5.
  3. This is an ordered list following a header 5.

Header 6

This is a normal paragraph following a header 6.


Accordion

{% capture acc-1 %} Here's an accordion with default headers and style, and unformatted content. {% endcapture %} {% include accordion-table.html content=acc-1 %}

{% capture acc-2 %} {: .p .pl-3 .pr-3 } Here's an accordion with the same header and style on both expand and collapse. The content is formatted as one paragraph with padding. {% endcapture %} {% include accordion-table.html content=acc-2 header_text='Same header and style' header_css='font-weight-normal' %}

{% capture acc-3 %} {: .p .pl-3 .pr-3 } Here's an accordion with the different header and style on expand and collapse.

{: .p .pl-3 .pr-3 } Here we have also formatted the content as two paragraphs with padding. {% endcapture %} {% include accordion-table.html content=acc-3 header_expand_text='Expand' header_collapse_text='Collapse' header_expand_css='font-weight-normal' %}


Cards

{% include card.html title='Card' open_in_new_tab=true description='A standard card that opens in a new tab' url="https://design.swedbankpay.com" %}
{% include card.html title='Card with button text' cta_text='CTA text' description='A standard card' url='/#cards/' %}
{% include card.html title='Card with image' image_alt_text="The image shows a woman seated in a comfortable chair in her home using a computer to make an online payment." image_src="/assets/img/betala-online.jpg" description='A standard card with an image' url="/#cards/" %}
{% include card.html title='Card with image, icon and button text' cta_text='CTA text' image_alt_text="The image shows someone seated in a cafe with a glass of juice, a cup of coffee and a cake on the table infront of them, using a card terminal to pay." image_src="/assets/img/betala-med-pax-a920pro.jpg" description='Note that image cards will not display any icon if the card has an image.' icon_content="at-check-circle" url='/#cards/' %}
{% include card.html title='Wide card with flag icon' description='A wide card' icon_content="flag-icon flag-icon-se" use_wide=true url="/#cards/" %}
{% include card.html title='Wide card with icon and button text' icon_content="at-check-circle" cta_text='CTA text' description='Note that wide cards will not display the button text unless the card has an image. ' use_wide=true url="/#cards/" %}
{% include card.html title='Wide card with image and icon' icon_content="at-check-circle" image_alt_text="The image shows a woman seated in a comfortable chair in her home using a computer to make an online payment." image_src="/assets/img/betala-online.jpg" description='Note that wide image cards will not display any icon if the card has an image.' use_wide=true url="/#cards/" %}
{% include card.html title='Wide card with image and button text' cta_text='CTA text' image_alt_text="The image shows someone seated in a cafe with a glass of juice, a cup of coffee and a cake on the table infront of them, using a card terminal to pay." image_src="/assets/img/betala-med-pax-a920pro.jpg" description='A wide card with an image and button text' use_wide=true url="/#cards/" %}

Tabs

{% include tabs.html tab_list=page.tab_list default_tab_index=3 %}



Table

Here's a nice table.

{:.table .table-plain}

col one col two col three
ok good swedish fish nice
out of stock good and plenty nice
ok good oreos hmm
ok good zoute drop yumm

Here's a striped table.

{:.table .table-striped}

col one col two col three
ok good swedish fish nice
out of stock good and plenty nice
ok good oreos hmm
ok good zoute drop yumm

Code examples

{:.code-view-header} JavaScript code with syntax highlighting.

var fun = function lang(l) {
  dateformat.i18n = require('./lang/' + l)
  return true;
}

{:.code-view-header} HTTP request

POST /psp/consumers HTTP/1.1
Host: api.externalintegration.payex.com
Authorization: Bearer <AccessToken>
Content-Type: application/json

{:.code-view-header} HTTP response

HTTP/1.1 200 OK
Content-Type: application/json
POST /psp/consumers HTTP/1.1
Host: api.externalintegration.payex.com
Authorization: Bearer <AccessToken>
Content-Type: application/json

{:.code-view-header} JSON

{
    "operation": "initiate-consumer-session",
    "msisdn": "+4798765432",
    "email": "[email protected]",
    "consumerCountryCode": "NO",
    "nationalIdentifier": {
        "socialSecurityNumber": "26026708248",
        "countryCode": "NO"
    }
}

{:.code-view-header} JSONC (JSON with comments)

{
    "payment": "/psp/creditcard/payments/paymentId",
    "authorization": {
        "direct": true,
        "cardBrand": "Visa", // Some comment
        "cardType": "Credit", // Some comment
        "issuingBank": "Utl. Visa", // Some comment
        "paymentToken": "paymentToken",
        "maskedPan": "454778******3329",
        "expiryDate": "12/2020",
        "panToken": "cca2d98d-8bb3-4bd6-9cf3-365acbbaff96",
        "panEnrolled": true,
        "acquirerTransactionTime": "0001-01-01T00:00:00Z",
        "id": "/psp/creditcard/payments/7e6cdfc3-1276-44e9-9992-7cf4419750e1/authorizations/ec2a9b09-601a-42ae-8e33-a5737e1cf177",
        "transaction": {
            "id": "/psp/creditcard/payments/7e6cdfc3-1276-44e9-9992-7cf4419750e1/transactions/ec2a9b09-601a-42ae-8e33-a5737e1cf177",
            "created": "2020-03-10T13:15:01.9586254Z",
            "updated": "2020-03-10T13:15:02.0493818Z",
            "type": "Authorization",
            "state": "AwaitingActivity",
            "number": 70100366758,
            "amount": 4201,
            "vatAmount": 0,
            "description": "Test transaction",
            "payeeReference": "1583846100",
            "isOperational": true,
            "operations": [
                {
                    "method": "GET",
                    "href": "https://api.stage.payex.com/psp/creditcard/confined/payments/authorizations/authenticate/ec2a9b09-601a-42ae-8e33-a5737e1cf177",
                    "rel": "redirect-authentication"
                }
            ]
        }
    }
}

To show code examples you can use a code example component.

{% include code-example.html title='Code example' header='POST /psp/consumers HTTP/1.1 Host: api.externalintegration.payex.com Authorization: Bearer Content-Type: application/json' json= '{ "payment": "/psp/creditcard/payments/paymentId", "authorization": { "direct": true, "cardBrand": "Visa", // Some comment "cardType": "Credit", // Some comment "issuingBank": "Utl. Visa", // Some comment "paymentToken": "paymentToken", "maskedPan": "454778******3329", "expiryDate": "12/2020", "panToken": "cca2d98d-8bb3-4bd6-9cf3-365acbbaff96", "panEnrolled": true, "acquirerTransactionTime": "0001-01-01T00:00:00Z", "id": "/psp/creditcard/payments/7e6cdfc3-1276-44e9-9992-7cf4419750e1/authorizations/ec2a9b09-601a-42ae-8e33-a5737e1cf177", "transaction": { "id": "/psp/creditcard/payments/7e6cdfc3-1276-44e9-9992-7cf4419750e1/transactions/ec2a9b09-601a-42ae-8e33-a5737e1cf177", "created": "2020-03-10T13:15:01.9586254Z", "updated": "2020-03-10T13:15:02.0493818Z", "type": "Authorization", "state": "AwaitingActivity", "number": 70100366758, "amount": 4201, "vatAmount": 0, "description": "Test transaction", "payeeReference": "1583846100", "isOperational": true } } }' %}

Here's some <inline>{:.language-html .highlight} { "code": true }{:.language-js .highlight} that should .be { highlighted: according; }{:.language-css .highlight} to their language.


Mermaid

sequenceDiagram
    participant Merchant
    participant SwedbankPay

    activate SwedbankPay
        SwedbankPay->>Merchant: POST <callbackUrl>
        activate Merchant
            note right of SwedbankPay: Callback POST by SwedbankPay
            Merchant->>SwedbankPay: Callback response
        deactivate Merchant
    deactivate SwedbankPay

    activate Merchant
        Merchant->>SwedbankPay: GET <payment instrument> payment
        note left of Merchant: First API request
        activate SwedbankPay
            SwedbankPay-->>Merchant: payment resource
        deactivate SwedbankPay
    deactivate Merchant
Loading

Alerts

{% include alert.html type='informative' header='Informational alert' body='This is an informational alert' %}

{% include alert.html type='success' header='Success' body='This is a successful alert.' %}

{% include alert.html type='warning' header='Warning' body='This is a warning alert with <markdown/>{:.language-html}.' %}

{% include alert.html type='danger' header='Danger' body='This is an error alert with <markdown/>{:.language-html}.' %}

Jumbotron

{% include jumbotron.html body='PayEx Checkout is a complete reimagination of the checkout experience, integrating seamlessly into the merchant website through highly customizable and flexible components.

Visit our demoshop and try out PayEx Checkout for yourself!' %}


Iterator

{% include iterator.html next_href="page2" %} {% include iterator.html prev_href="page1" %} {% include iterator.html prev_href="page1" prev_title="Go back" next_href="page2" next_title="Go forward" %}

There's a horizontal rule below this


Here is an unordered list

  • Item foo
  • Item bar
  • Item baz
  • Item zip

And an ordered list

  1. Item one
  2. Item two
  3. Item three
  4. Item four

And a nested list

  • level 1 item

    • level 2 item
    • level 2 item
    • level 3 item
    • level 3 item
  • level 1 item

    • level 2 item
    • level 2 item
    • level 2 item
  • level 1 item

    • level 2 item
    • level 2 item
  • level 1 item


Small image

Octocat


Large image

Branching


Definition lists can be used with HTML syntax

Name
Godzilla
Born
1952
Birthplace
Japan
Color
Green
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
The final element.

Emoji support

👍 ✔️ 🔥 💡 🦄


Material design icons

{% icon check %} {% icon line_weight %} {% icon gavel %} {% icon visibility %} {% icon work %} {% icon alarm_on outlined %} {% icon touch_app %}