Skip to content

Commit

Permalink
Merge pull request #54 from saferpay/feature/update-v1.39
Browse files Browse the repository at this point in the history
Update docu for v1.39
  • Loading branch information
najo4594 authored Mar 1, 2024
2 parents dd07830 + 48e157c commit bf6cd54
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 542 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
path: _gh_pages

- name: build new version page
run: libs/GitHubPagesGenerator.exe -i "${{ github.workspace }}" -s "${{ github.workspace }}/Sitemap.json" -c "${{ github.workspace }}" -o _gh_pages -t "JSON API Spec-Version 1.38"
run: libs/GitHubPagesGenerator.exe -i "${{ github.workspace }}" -s "${{ github.workspace }}/Sitemap.json" -c "${{ github.workspace }}" -o _gh_pages -t "JSON API Spec-Version 1.39"

- name: push updated gh pages
uses: s0/git-publish-subdir-action@develop
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ To learn more about Saferpay please check www.saferpay.com.

### Versions

* [Spec version 1.38 (latest)](https://saferpay.github.io/jsonapi)
* [Spec version 1.39 (latest)](https://saferpay.github.io/jsonapi)
* [Spec version 1.38](https://saferpay.github.io/jsonapi/1.38)
* [Spec version 1.37](https://saferpay.github.io/jsonapi/1.37)
* [Spec version 1.36](https://saferpay.github.io/jsonapi/1.36)
* [Spec version 1.35](https://saferpay.github.io/jsonapi/1.35)
Expand Down
13 changes: 13 additions & 0 deletions texts/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# <a name="changelog"></a> Changelog

## Table of Contents
- [Version 1.39](#v1.39.0.0.20240319)
- [Version 1.38](#v1.38.0.0.20240123)
- [Version 1.37](#v1.37.0.0.20231114)
- [Version 1.36](#v1.36.0.0.20230912)
Expand Down Expand Up @@ -37,6 +38,18 @@
- [Version 1.5](#v1.5.0.20170207)
- [Version 1.4](#v1.4.0.20161015)

## <a name="v1.39.0.0.20240319"></a> Version 1.39 (released 2024-03-19)
- available on Sandbox: 2024-03-01
- introduced version 1.39
- added value `1.39` for _SpecVersion_
- removed `Styling` container from following requests in all API versions:
- [PaymentPage/Initialize](index.html#Payment_v1_PaymentPage_Initialize)
- [Transaction/Initialize](index.html#Payment_v1_Transaction_Initialize)
- [Transaction/RedirectPayment](index.html#Payment_v1_Transaction_RedirectPayment)
- [SecureCardData/AliasInsert](index.html#Payment_v1_Alias_Insert)
- [PaymentPage/Assert](index.html#Payment_v1_PaymentPage_Assert) can now be called up to 120 hours for pending transactions (instead of 96 hours before)
- removed `Transaction/QueryPaymentMeans` and `Transaction/AdjustAmount` methods from Saferpay Payment API
- added `MandatoryFields` field to _BillingAddressForm_ container in [SecurePayGate Create SingleUsePaymentLink](index.html#rest_customers_[customerId]_terminals_[terminalId]_spg-offers)

## <a name="v1.38.0.0.20240123"></a> Version 1.38 (released 2024-01-23)
- available on Sandbox: 2024-01-04
Expand Down
14 changes: 0 additions & 14 deletions texts/ChapterAliasStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,6 @@ Possible values: CARD, BANK_ACCOUNT, POSTFINANCE, TWINT.<br />
<div style="padding-bottom: 10px">URL which is used to redirect the payer back to the shop.<br><br>This Url is used by Saferpay to redirect the shopper back to the merchant shop. You may add query string parameters to identify your session, but please be aware that the shopper could modify these parameters inside the browser!<br> The whole url including query string parameters should be as short as possible to prevent issues with specific browsers and must not exceed 2000 characters.<br> Note: you should not add sensitive data to the query string, as its contents is plainly visible inside the browser and will be logged by our web servers.</div>
<i class="small text-muted">
</i>
</td>
</tr>
<tr>
<td class="col-sm-4 text-right">
<strong>Styling</strong><br />
<span class="text-muted small">
<a class="type-details in" href="#Payment_Models_Data_ExtendedStyling">object</a>
</span>
</td>
<td class="col-sm-8">
<div style="padding-bottom: 10px">Custom styling resource for the Hosted Register form.</div>
<i class="small text-muted">
</i>
</td>
</tr>
<tr>
Expand Down
17 changes: 2 additions & 15 deletions texts/ChapterPaymentPage.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ Possible values: ACCOUNTTOACCOUNT, ALIPAY, AMEX, BANCONTACT, BONUS, DINERS, CARD
<td class="col-sm-8">
<div style="padding-bottom: 10px">Used to control if wallets should be enabled on the payment selection page.</div>
<i class="small text-muted">
Possible values: APPLEPAY, GOOGLEPAY.<br />
Possible values: APPLEPAY, GOOGLEPAY.<br />
<span>Example: <code>[&quot;APPLEPAY&quot;]</code></span>
</i>
Expand Down Expand Up @@ -231,20 +232,6 @@ Possible values: APPLEPAY, GOOGLEPAY.<br />
<div style="padding-bottom: 10px">Notification options</div>
<i class="small text-muted">
</i>
</td>
</tr>
<tr>
<td class="col-sm-4 text-right">
<strong>Styling</strong><br />
<span class="text-muted small">
<a class="type-details in" href="#Payment_Models_Data_PaymentPageStyling">object</a>
</span>
</td>
<td class="col-sm-8">
<div style="padding-bottom: 10px">Styling options</div>
<i class="small text-muted">
</i>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -481,7 +468,7 @@ Call this function to safely check the status of the transaction from your serve
<p><strong>Important:</strong></p>
<ul>
<li>Depending on the payment provider, the resulting transaction may either be an authorization or may already be captured (meaning the financial flow was already triggered). This will be visible in the status of the transaction container returned in the response.</li>
<li>This function can be called up to 24 hours after the transaction was initialized. For pending transaction the token expiration is increased to 96 hours.</li>
<li>This function can be called up to 24 hours after the transaction was initialized. For pending transaction the token expiration is increased to 120 hours.</li>
<li>If the transaction failed (the payer was redirected to the Fail url or he manipulated the return url), an error response with an http status code 400 or higher containing an error message will be returned providing some information on the transaction failure.</li>
</ul>
</div>
Expand Down
Loading

0 comments on commit bf6cd54

Please sign in to comment.