Skip to content

Commit

Permalink
Merge pull request #1 from qenta-cee/upstream_20220208
Browse files Browse the repository at this point in the history
chore: change url to hostname
  • Loading branch information
HMKnapp authored Feb 9, 2022
2 parents c7b679a + 32441fb commit 622155c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
6 changes: 1 addition & 5 deletions online-guides/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ nav:
- modules/ROOT/nav.adoc
asciidoc:
attributes:
api-hostname: api.hostname.ext
api-url: api.qenta.com
api-hostname: api.qenta.com
company-name: QENTA Payment CEE
welcome-page-title: QENTA Online Guides
company-server-name: QENTA Checkout Server
Expand Down Expand Up @@ -38,6 +37,3 @@ asciidoc:
journal-product-name: QENTA Checkout Journal
journal-product-name-short: Checkout Journal
journal-url: https://portal.qenta.com/journal/



Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For a proper request you have to set the correct HTTP header elements within you
|===
|HTTP header parameter|Description and value

|Host|Domain name of server, value: `{api-url}`
|Host|Domain name of server, value: `{api-hostname}`
|User-Agent|User agent string of client
|Content-Type| MIME type of the body, value: `application/x-www-form-urlencoded`
|Content-Length|Length of body in bytes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Init form example:

[source,html, subs="attributes+, +replacements"]
----
<form action='https://{api-url}/page/init.php' method='post' name='checkout' target='_self'>
<form action='https://{api-hostname}/page/init.php' method='post' name='checkout' target='_self'>
<input type='hidden' name='customerId' value='D200001' />
<input type='hidden' name='language' value='en' />
<input type='hidden' name='paymentType' value='AFTERPAY' />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NOTE: For all other supported payment methods you do not need to store data in t

To initialize the {company-data-storage}, send a server-to-server request from your web server to a specific URL containing some specific request parameters: `{data-storage-init-url}`.

Enable server-to-server requests within the configuration of your web server and firewall settings for sending data from your server to `{api-url}` (`212.183.46.16/28`).
Enable server-to-server requests within the configuration of your web server and firewall settings for sending data from your server to `{api-hostname}` (`212.183.46.16/28`).

For a proper request you have to set the correct HTTP header elements within your request:

Expand All @@ -33,7 +33,7 @@ For a proper request you have to set the correct HTTP header elements within you
|===
|HTTP header parameter|Description and value

|Host|Domain name of server, value: `{api-url}`
|Host|Domain name of server, value: `{api-hostname}`
|User-Agent|User agent string of client
|Content-Type| MIME type of the body, value: `application/x-www-form-urlencoded`
|Content-Length|Length of body in bytes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ NOTE: For response fingerprint calculation: if `magic_quotes_gpc` or `magic_quot
=== Firewall Settings

When integrating {page-product-name} or {seamless-product-name} into your online shop you may need to adjust the security settings of your firewall and to enable outgoing communication to the server: +
`{api-url}` - `212.183.46.18`
`{api-hostname}` - `212.183.46.18`

To receive confirmation information from {company-name-short} regarding a transaction via the xref:parameters/detailed-description.adoc#confirmUrl[confirmUrl] you need to enable incoming communication from our following IP-addresse `212.183.46.16/28`.

2 changes: 1 addition & 1 deletion online-guides/modules/ROOT/pages/shop_url_adaptions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Merchants which are using our shop plugins have to switch the endpoint from Wire
|===
|Old endpoint|New endpoint

|checkout.wirecard.com|{api-url}
|checkout.wirecard.com|{api-hostname}
|===

CAUTION: Change only the first part of the URL, everything after `.com/` stays the same!
Expand Down

0 comments on commit 622155c

Please sign in to comment.