From 4181b9904556e23bcd661c444930dde0401aa073 Mon Sep 17 00:00:00 2001 From: Casper Thomsen Date: Fri, 18 Nov 2022 09:16:50 +0100 Subject: [PATCH 1/2] Deprecate non-tokenized MPO --- .../authorizations_methods/mobilepayonline.md | 51 +++++++++++-------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md b/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md index daa641bf..deb73d37 100644 --- a/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md +++ b/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md @@ -6,44 +6,51 @@ weight: 125 --- #### Method: mobilepayonline -{{% description_list %}} -{{% description_term %}}mobilepayonline[pan] {{% regex %}}[0-9]{12,19}{{% /regex %}}{{% /description_term %}} +{{% description_term %}}mobilepayonline[payment_token] {{% regex %}}[\:json\:]{{% /regex %}}{{% /description_term %}} {{% description_details %}} -Primary account number of card to charge. - -If `payment_token` parameter is included, the pan must be a Token PAN. +Full tokenCallback response serialized as JSON, supplied as a string. Required for token-based authentication. +Example: `{"paymentId":"string","tokenData":{"cryptogramInfo":{...},...},...}` +{{% regex_optional %}}Optional{{% /regex_optional %}} {{% /description_details %}} -{{% description_term %}}mobilepayonline[expire_month] {{% regex %}}[0-9]{2}{{% /regex %}}{{% /description_term %}} +{{% description_term %}}mobilepayonline[3dsecure] {{% regex %}}dictionary{{% /regex %}}{{% /description_term %}} {{% description_details %}} -Expiry month of card to charge. +See [Authentication: [3dsecure]](#authentication-3dsecure). +{{% regex_optional %}}Optional{{% /regex_optional %}} {{% /description_details %}} -{{% description_term %}}mobilepayonline[expire_year] {{% regex %}}[0-9]{4}{{% /regex %}}{{% /description_term %}} + +{{% description_term %}}~~mobilepayonline[phone_number]~~ {{% regex %}}~~[\x20-\x7E]{1,15}~~{{% /regex %}}{{% /description_term %}} {{% description_details %}} -Expiry year of card to charge. +Deprecated! Please use `mobilepayonline[payment_token]`. + +~~Phone number from where the PAN originates.~~ +{{% regex_optional %}}~~Optional~~{{% /regex_optional %}} {{% /description_details %}} -{{% description_term %}}mobilepayonline[payment_token] {{% regex %}}[\:json\:]{{% /regex %}}{{% /description_term %}} +{{% description_list %}} +{{% description_term %}}~~mobilepayonline[pan]~~ {{% regex %}}~~[0-9]{12,19}~~{{% /regex %}}{{% /description_term %}} {{% description_details %}} -Full tokenCallback response serialized as JSON, supplied as a string. Required for token-based authentication. -Example: `{"paymentId":"string","tokenData":{"cryptogramInfo":{...},...},...}` -{{% regex_optional %}}Optional{{% /regex_optional %}} -{{% /description_details %}} +Deprecated! Please use `mobilepayonline[payment_token]`. -{{% description_term %}}mobilepayonline[phone_number] {{% regex %}}[\x20-\x7E]{1,15}{{% /regex %}}{{% /description_term %}} -{{% description_details %}} -Phone number from where the PAN originates. -{{% regex_optional %}}Optional{{% /regex_optional %}} -{{% /description_details %}} +~~Primary account number of card to charge.~~ +~~If `payment_token` parameter is included, the pan must be a Token PAN.~~ +{{% /description_details %}} -{{% description_term %}}mobilepayonline[3dsecure] {{% regex %}}dictionary{{% /regex %}}{{% /description_term %}} +{{% description_term %}}~~mobilepayonline[expire_month]~~ {{% regex %}}~~[0-9]{2}~~{{% /regex %}}{{% /description_term %}} {{% description_details %}} -See [Authentication: [3dsecure]](#authentication-3dsecure). -{{% regex_optional %}}Optional{{% /regex_optional %}} +Deprecated! Please use `mobilepayonline[payment_token]`. + +~~Expiry month of card to charge.~~ {{% /description_details %}} +{{% description_term %}}~~mobilepayonline[expire_year]~~ {{% regex %}}~~[0-9]{4}~~{{% /regex %}}{{% /description_term %}} +{{% description_details %}} +Deprecated! Please use `mobilepayonline[payment_token]`. + +~~Expiry year of card to charge.~~ +{{% /description_details %}} {{% description_term %}}~~mobilepayonline[pares]~~ {{% regex %}}~~[\:base64\:]~~{{% /regex %}}{{% /description_term %}} {{% description_details %}} From f0a8dff85230a6007c97f7fc61e6719f2a21175c Mon Sep 17 00:00:00 2001 From: Lassejoe Date: Fri, 18 Nov 2022 10:50:00 +0100 Subject: [PATCH 2/2] Fix rendering issue --- .../authorizations/authorizations_methods/mobilepayonline.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md b/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md index deb73d37..f09b268c 100644 --- a/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md +++ b/website/content/gateway/api_reference/resources/authorizations/authorizations_methods/mobilepayonline.md @@ -6,6 +6,8 @@ weight: 125 --- #### Method: mobilepayonline +{{% description_list %}} + {{% description_term %}}mobilepayonline[payment_token] {{% regex %}}[\:json\:]{{% /regex %}}{{% /description_term %}} {{% description_details %}} Full tokenCallback response serialized as JSON, supplied as a string. Required for token-based authentication. @@ -28,7 +30,6 @@ Deprecated! Please use `mobilepayonline[payment_token]`. {{% regex_optional %}}~~Optional~~{{% /regex_optional %}} {{% /description_details %}} -{{% description_list %}} {{% description_term %}}~~mobilepayonline[pan]~~ {{% regex %}}~~[0-9]{12,19}~~{{% /regex %}}{{% /description_term %}} {{% description_details %}} Deprecated! Please use `mobilepayonline[payment_token]`.