It appears that the shopping cart gets emptied before the order is created but money is taken from the persons bank account and no order created.
Details from the error log.
2020.04.24 04:24:21:5236*******
CreateCheckoutUrl.start
2020.04.24 04:24:21:8519*******
Shopping cart
orderTotal=class Money {
Amount: 4154
Currency: GBP
}
IgnoreOrderItems=false
orderItem. orderItem.Product.Name='Essentials Meat Selection Pack', Quantity=1, priceItem=class Money {
Amount: 1950
Currency: GBP
}
, roundedDiscount=0
orderItem. orderItem.Product.Name='Topside of Beef', Quantity=1, priceItem=class Money {
Amount: 1540
Currency: GBP
}
, roundedDiscount=3.85
orderItem. orderItem.Product.Name='Pastrami (200g)', Quantity=1, priceItem=class Money {
Amount: 449
Currency: GBP
}
, roundedDiscount=0
Shipping fee. priceItem=class Money {
Amount: 600
Currency: GBP
}
=>CreateOrderRequest
Name='Essentials Meat Selection Pack', Quantity=1, BasePriceMoney=class Money {
Amount: 1950
Currency: GBP
}
Name='Topside of Beef', Quantity=1, BasePriceMoney=class Money {
Amount: 1540
Currency: GBP
}
-> discount Name='Discount', AmountMoney=class Money {
Amount: 385
Currency: GBP
}
, Percentage=
Name='Pastrami (200g)', Quantity=1, BasePriceMoney=class Money {
Amount: 449
Currency: GBP
}
Name='Shipping fee', Quantity=1, BasePriceMoney=class Money {
Amount: 600
Currency: GBP
}
2020.04.24 04:24:22:0575*******
CreateCheckoutUrl. createOrderRequest.ToJson()={
"idempotency_key": "e33b2616-fde5-4511-9c48-c709e0025be6",
"reference_id": "e33b2616-fde5-4511-9c48-c709e0025be6",
"line_items": [
{
"name": "Essentials Meat Selection Pack",
"quantity": "1",
"base_price_money": {
"amount": 1950,
"currency": "GBP"
},
"discounts": []
},
{
"name": "Topside of Beef",
"quantity": "1",
"base_price_money": {
"amount": 1540,
"currency": "GBP"
},
"discounts": [
{
"name": "Discount",
"amount_money": {
"amount": 385,
"currency": "GBP"
}
}
]
},
{
"name": "Pastrami (200g)",
"quantity": "1",
"base_price_money": {
"amount": 449,
"currency": "GBP"
},
"discounts": []
},
{
"name": "Shipping fee",
"quantity": "1",
"base_price_money": {
"amount": 600,
"currency": "GBP"
}
}
],
"discounts": []
}
2020.04.24 04:24:22:0905*******
CreateCheckoutUrl. shippingAddress.ToJson()={
"address_line_1": "xxx Charles Street",
"locality": "Hinckley",
"postal_code": "LE10 xxx",
"country": "GB",
"first_name": "xxxx",
"last_name": "xxxxxxx"
}
2020.04.24 04:24:22:0955*******
CreateCheckoutUrl. redirectUrl=https://thecountryvictualler.co.uk/plugins/squarepaymentflowpayment/confirmpage
2020.04.24 04:26:56:6484*******
ValidateReplay. CheckoutId=CBASEABcj2TlNsjTapIPhrtmNUE, OrderId=, ReferenceId=e33b2616-fde5-4511-9c48-c709e0025be6, TransactionId=ZAMrFK4erxkPKi8PB79MQ7CXn0QZY
2020.04.24 04:26:58:1602*******
ValidateReplay. transaction.ToJson()={
"id": "ZAMrFK4erxkPKi8PB79MQ7CXn0QZY",
"location_id": "FBC7P6PNJF0M2",
"created_at": "2020-04-24T03:26:55Z",
"tenders": [
{
"id": "BWvkBwoefpJFF6rqK4GxlXpGuaB",
"location_id": "FBC7P6PNJF0M2",
"transaction_id": "ZAMrFK4erxkPKi8PB79MQ7CXn0QZY",
"created_at": "2020-04-24T03:26:55Z",
"note": "Online Transaction",
"amount_money": {
"amount": 4154,
"currency": "GBP"
},
"processing_fee_money": {
"amount": 0,
"currency": "GBP"
},
"customer_id": "NKG74RQ9SX51Z3WVAN1YEC2HKG",
"type": "CARD",
"card_details": {
"sta