Changes for page Payment
Last modified by Trieu Tran on 2019/12/04 14:12
From version 146.2
edited by Asbjørn Ulsberg
on 2018/07/05 12:48
on 2018/07/05 12:48
To version 147.1
edited by Asbjørn Ulsberg
on 2018/07/05 12:48
on 2018/07/05 12:48
Change comment: Renamed back-links.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,8 @@ 1 1 = Retrieve Payment = 2 2 3 -An implementer must first perform a POST to the [[Payment Session resource>> Main.ecommerce.payex-checkout-v1.Introduction.Payment-session.WebHome]] to begin the PayEx Checkout user flow. When done, a Payment resource will be created. Operations to perform a Capture, Cancel or Reversal transaction requests will be found within the Payment resource.3 +An implementer must first perform a POST to the [[Payment Session resource>>Sandbox.payex-checkout-v1.Introduction.Payment-session.WebHome]] to begin the PayEx Checkout user flow. When done, a Payment resource will be created. Operations to perform a Capture, Cancel or Reversal transaction requests will be found within the Payment resource. 4 4 5 -The URL of the Payment is found within the Payment Session resource. [[Read about how to retrieve the payment session here.>> Main.ecommerce.payex-checkout-v1.Introduction.Payment-session.WebHome||anchor="HRetrievePaymentSession"]] This resource requires authentication as mentioned in the [[Intro>>Main.ecommerce.payex-checkout-v1.Introduction.WebHome||anchor="HAuthentication"]].5 +The URL of the Payment is found within the Payment Session resource. [[Read about how to retrieve the payment session here.>>Sandbox.payex-checkout-v1.Introduction.Payment-session.WebHome||anchor="HRetrievePaymentSession"]] This resource requires authentication as mentioned in the [[Intro>>Main.ecommerce.payex-checkout-v1.Introduction.WebHome||anchor="HAuthentication"]]. 6 6 7 7 == Example == 8 8 ... ... @@ -108,7 +108,7 @@ 108 108 109 109 Build the Capture request by finding the {{code}}href{{/code}} and {{code}}method{{/code}} properties of the {{code}}create-checkout-capture{{/code}} operation. 110 110 111 -The simple Capture request does a full capture of the {{code}}amount{{/code}} and {{code}}fees{{/code}} specified in the [[Payment Session>> Main.ecommerce.payex-checkout-v1.Introduction.Payment-session.WebHome]]. Unless you want to perform a partial Capture or add item descriptions, the simple Capture is the recommended way to Capture the payment.111 +The simple Capture request does a full capture of the {{code}}amount{{/code}} and {{code}}fees{{/code}} specified in the [[Payment Session>>Sandbox.payex-checkout-v1.Introduction.Payment-session.WebHome]]. Unless you want to perform a partial Capture or add item descriptions, the simple Capture is the recommended way to Capture the payment. 112 112 113 113 {{code language="JavaScript"}} 114 114 POST <capture_operation_href> HTTP/1.1 ... ... @@ -131,7 +131,7 @@ 131 131 132 132 === Advanced capture request === 133 133 134 -If you want to Capture less than the total amount of the Payment (partial capture) or add additional item descriptions that may be printed on an invoice. The advanced Capture adds any {{code}}fees{{/code}} specified in the [[Payment Session>> Main.ecommerce.payex-checkout-v1.Introduction.Payment-session.WebHome]]. An advanced Capture request may look something like this:134 +If you want to Capture less than the total amount of the Payment (partial capture) or add additional item descriptions that may be printed on an invoice. The advanced Capture adds any {{code}}fees{{/code}} specified in the [[Payment Session>>Sandbox.payex-checkout-v1.Introduction.Payment-session.WebHome]]. An advanced Capture request may look something like this: 135 135 136 136 {{code language="JavaScript"}} 137 137 { ... ... @@ -226,7 +226,7 @@ 226 226 227 227 Build the Cancellation request by finding the {{code}}href{{/code}} and {{code}}method{{/code}} properties of the {{code}}create-checkout-cancellation{{/code}} operation. 228 228 229 -The Cancellation request does a full cancellation of the {{code}}amount{{/code}} and {{code}}fees{{/code}} specified in the [[Payment Session>> Main.ecommerce.payex-checkout-v1.Introduction.Payment-session.WebHome]].229 +The Cancellation request does a full cancellation of the {{code}}amount{{/code}} and {{code}}fees{{/code}} specified in the [[Payment Session>>Sandbox.payex-checkout-v1.Introduction.Payment-session.WebHome]]. 230 230 231 231 {{code language="JavaScript"}} 232 232 POST <cancel_operation_href> HTTP/1.1