Changes for page PayEx Checkout v1
Last modified by Trieu Tran on 2019/12/04 14:11
From version 30.2
edited by Asbjørn Ulsberg
on 2018/02/26 09:42
on 2018/02/26 09:42
To version 31.1
edited by Asbjørn Ulsberg
on 2018/04/27 10:26
on 2018/04/27 10:26
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -192,6 +192,7 @@ 192 192 "reference": "merchant-order-123", 193 193 "acquire": ["email", "mobilePhoneNumber", "shippingAddress"], 194 194 "culture": "nb-NO", 195 + "hosts": ["https://merchant.com/"], 195 195 "payer": { 196 196 "email": "payer@example.com", 197 197 "mobilePhoneNumber": "+4712345678" ... ... @@ -216,7 +216,25 @@ 216 216 217 217 { 218 218 "id": "https://api.payex.com/psp/checkout/payment-sessions/123-456-789", 219 - "payment": "<payment_url>" 220 + "amount": 199.50, 221 + "vatAmount": 39.90, 222 + "currency": "NOK", 223 + "callbackUrl": "https://merchant.api/callback", 224 + "reference": "merchant-order-123", 225 + "acquire": ["email", "mobilePhoneNumber", "shippingAddress"], 226 + "culture": "nb-NO", 227 + "hosts": ["https://merchant.com/"], 228 + "payer": { 229 + "email": "payer@example.com", 230 + "mobilePhoneNumber": "+4712345678" 231 + }, 232 + "fees" : { 233 + "invoice": { 234 + "amount": 19.50, 235 + "vatAmount": 3.90, 236 + "description": "Invoice fee" 237 + } 238 + } 220 220 } 221 221 {{/code}} 222 222 ... ... @@ -288,11 +288,29 @@ 288 288 289 289 == Step 3: Payment window (facilitated by PayEx) == 290 290 291 -When consumer clicks on the Pay button the PayEx Checkout payment window appears in the web browser. 292 - Once thepayment is authorizedatourend-thePayEx Checkout Javascript willposttheform.310 +{{{When a consumer clicks on the Pay button the PayEx Checkout payment window appears in the web browser. 311 +This payment window includes the following steps. 293 293 294 -From the payment window opens until it closes is performed entirely by PayEx. We now expect a receipt to be sent to the consumer. 313 +=== Login === 314 +PayEx holds all payer information for easier payment procedure. If the user submits an email address a lookup process begins. 315 +Otherwise an anonymous payment process is used where only credit card is available as payment method. 316 + 317 +=== Authentication === 318 +By specifying mobile phone number, a verification code is sent to your phone. 295 295 320 +=== Delivery === 321 +Depending on the parameters provided in the acquires property, various address information is required to continue to next step. 322 + 323 +=== Payment === 324 + 325 +Depending on merchant country, merchant contract and consumer country a list of payment options is displayed. 326 +Possible options are currently credit card and invoice. 327 +Credit card offers the option to add a new card or pick a previous card. 328 +Invoice is only available for consumers in same country as merchant. 329 + 330 +Once the payment is authorized at our end - the PayEx Checkout Javascript will post the form. 331 +From the payment window is opened until it closes, everything in the payment process is performed entirely by PayEx. After that we expect a receipt to be sent to the consumer.}}} 332 + 296 296 == Step 4: Get payment status == 297 297 298 298 After a successfully authorized payment, the purchase form will be submitted as earlier mentioned. It is assumed that the form contains the reference connecting the previously persisted {{code}}paymentSessionUrl{{/code}} to the order, shopping cart, or similar. ... ... @@ -303,7 +303,7 @@ 303 303 304 304 (% id="HTTP_2" %) 305 305 ((( 306 -Retrieve the paymentSessionUrl related to the submitted form from storage, and then retrieve the Payment Session and find the URL of the Payment. 343 +Retrieve the ##paymentSessionUrl## related to the submitted form from storage, and then retrieve the Payment Session and find the URL of the Payment. 307 307 308 308 **Request** 309 309