From version 80.15
edited by Patrick Härmälä
on 2019/01/31 13:59
To version 80.16
edited by Kim Fjellbo
on 2019/02/28 12:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.phl
1 +xwiki:XWiki.krf
Content
... ... @@ -11,7 +11,7 @@
11 11  * When the consumer/end-user starts the purchase process, you make a {{code}}POST{{/code}} request towards PayEx with the collected ##Purchase## information.
12 12  * After that, you need to collect the consumer's mobile number and make a {{code}}POST{{/code}} request towards PayEx.
13 13  * PayEx will handle the dialogue with Vipps and the consumer will have to confirm the purchase in the Vipps app.
14 -* Finally you will receive a payment callback when the Vipps dialogue is completed, and you will have to make a {{code}}GET{{/code}}request to check the payment status.
14 +* If CallbackURL is set you will receive a payment callback when the Vipps dialogue is completed, and you will have to make a {{code}}GET{{/code}}request to check the payment status.
15 15  * The flow is explained in the picture below:
16 16  
17 17  [[image:Vipps_flow_directAPI.png||width="850"]]
... ... @@ -33,7 +33,7 @@
33 33  
34 34  ==== General ====
35 35  
36 -* **Defining CallbackURL**: When implementing all scenarios, it is required that you set a [[##CallbackURL##>>doc:Main.ecommerce.technical-reference.core-payment-resources.WebHome||anchor="HURLs"]] in the POST request. PayEx will send a postback request to this URL when the consumer has fulfilled the payment. See the Callback API description [[here>>doc:Main.ecommerce.technical-reference.WebHome||anchor="HCallback"]].
36 +* **Defining CallbackURL**: When implementing a scenario, it is optional to set a [[##CallbackURL## >>doc:Main.ecommerce.technical-reference.core-payment-resources.WebHome||anchor="HURLs"]]in the {{code}}POST{{/code}} request. If callbackURL is set PayEx will send a postback request to this URL when the consumer has fulfilled the payment. [[See the Callback API description here.>>doc:Main.ecommerce.technical-reference.WebHome||anchor="HCallback"]]
37 37  
38 38  == Purchase flow ==
39 39  
... ... @@ -131,7 +131,7 @@
131 131  * **Abort:** It is possible to [[abort a payment>>doc:Main.ecommerce.technical-reference.WebHome||anchor="HAbort"]] if the payment has no successful transactions.
132 132  * Vipps only support two-phase transactions (##Authorize##), which mean that you must implement the Capture and Cancel requests.
133 133  * For reversals, you will need to implement the Reversal request.
134 -* **Callback from PayEx:** Whenever changes to the payment occur a [[Callback request>>doc:Main.ecommerce.technical-reference.WebHome||anchor="HCallback"]] will be posted to the callbackUrl, generated when the payment was created.
134 +* **If CallbackURL is set: **Whenever changes to the payment occur a [[Callback request>>doc:Main.ecommerce.technical-reference.WebHome||anchor="HCallback"]] will be posted to the callbackUrl, generated when the payment was created.
135 135  
136 136  === Capture Sequence ===
137 137  

Tips

You can click on the arrows next to the breadcrumb elements to quickly navigate to sibling and children pages.

Need help?

If you need help with XWiki you can contact: