Handling completed checkout-sessions
Gain a better understanding of how to handle checkout-sessions after Digital River creates the order
Determine whether to save addresses
{
"id": "b927e8ef-fd8e-41a5-af29-04206b24dbb8",
"type": "checkout_session.order.created",
"data": {
"object": {
"id": "262957510336",
"checkoutId": "3a71cfd1-da2b-4378-833f-3c9ad6fcf447",
"checkoutSessionId": "fa701918-4f4c-45a9-8f72-88064070b927",
...
"shipTo": {
"address": {
"line1": "10380 Bren Rd W",
"city": "Minnetonka",
"postalCode": "55129",
"country": "MN"
},
"name": "John Smith",
"phone": "952-111-1111",
"email": "[email protected]",
"additionalAddressInfo": {
"neighborhood": "Centro",
"phoneticName": "ヤマダ タロ"
},
"saveForLater": true
},
...
"billTo": {
"address": {
"line1": "10380 Bren Rd W",
"city": "Minnetonka",
"postalCode": "55129",
"country": "FR"
},
"name": "John Smith",
"phone": "09521111111",
"email": "[email protected]",
"saveForLater": false
},
...
}
},
...
}Determine what disclosures customers accepted
Access price formatting rules
Determine whether customers applied store credit
Last updated