You have no items in your shopping cart.

Profile: MattHobson1968

Avatar
Statistics

    tus": "CAPTURED",
            "card": {
              "card_brand": "VISA",
              "last_4": "7730",
              "fingerprint": "sq-1-bIEbjql_Vwr4N3gxzZ4XXQgIBeUMjMBWII4j6j98iB4wMTCWmrYslw_sag6FCtaYBw"
            },
            "entry_method": "KEYED"
          }
        }
      ],
      "reference_id": "e33b2616-fde5-4511-9c48-c709e0025be6",
      "product": "EXTERNAL_API",
      "order_id": "ZAMrFK4erxkPKi8PB79MQ7CXn0QZY"
    }
    2020.04.24 04:26:58:1689*******
    CreateOrder.
    2020.04.24 04:26:58:1852*******
    Errors. ConfirmPage
       Error. Empty shopping cart.

    3 years ago

    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

    3 years ago

    It appears that there is a difference in payment calculations which results in payment being taken by Paypal but no order being placed in nopcommerce.
    Log level Warning
    Short message  
    Error. Your order total was changed. Old amount = 77.69, new amount = 77.68.
    Full message  
    IP address  
    92.17.153.113
    Customer  
    Page URL  
    https://thecountryvictualler.co.uk/paymentpaypalstandardpro/confirmorder?paymentId=PAYID-L2XJEII8DL723238U264054T&token=EC-1YL842427L5622900&PayerID=EZR7V4V4HMA7Q
    Referrer URL  
    https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&token=EC-1YL842427L5622900&country.x=GB&locale.x=en_GB
    Created on  
    5/3/2020 10:43:25 AM

    This is the details from the debug logging within the plugin.
    2020.05.03 10:43:24:5046*******
    PayPalStandardProPayment. ConfirmOrder. paymentId=PAYID-L2XJEII8DL723238U264054T, token=EC-1YL842427L5622900, PayerID=EZR7V4V4HMA7Q
    2020.05.03 10:43:25:0343*******
    PayPalService. GetPayment. payment.json={"id":"PAYID-L2XJEII8DL723238U264054T","intent":"sale","payer":{"payment_method":"paypal","status":"VERIFIED","payer_info":{"email":"mark@markmather.co.uk","first_name":"xxxxx","last_name":"xxxx","payer_id":"EZR7V4V4HMA7Q","country_code":"GB","shipping_address":{"recipient_name":" xxxxxxxx","line1":"xx All Saints Close","city":"London","country_code":"GB","postal_code":"SW8 xxx","state":""}}},"cart":"1YL842427L5622900","transactions":[{"related_resources":[],"amount":{"currency":"GBP","total":"77.69","details":{"subtotal":"71.69","shipping":"5.00","tax":"1.00"}},"payee":{"email":"accounts@maloneys.net","merchant_id":"AHUSRTRMB59GL"},"description":"Country Victualler Web Order","invoice_number":"b714f5c2-dc5c-41f8-9ed7-fe7b1a830255","item_list":{"items":[{"quantity":"2","name":"Bake at Home Chicken & Wild Mushroom Purse (270g)","price":"5.95","currency":"GBP","sku":"FZPUWM"},{"quantity":"2","name":"Bake at Home - Filled Pastry Purses  Mediterranean Vegetable and Feta  (2 x 270g)","price":"5.95","currency":"GBP","sku":"FZPUMVF"},{"quantity":"1","name":"Trio of Dry Cured Bacon","price":"10.00","currency":"GBP","sku":"RBCBSM250, RBCBSM250, RBCSTSM250"},{"quantity":"2","name":"Chicken Thighs (Boneless) 1Kg","price":"5.00","currency":"GBP","sku":"RCHKTH1KG"},{"quantity":"1","name":"Duck Liver & Gammon Terrine with Vine Fruits","price":"5.75","currency":"GBP","sku":"CVDLT2"},{"quantity":"1","name":"Vintage Red Fox (450g)","price":"7.50","currency":"GBP","sku":"BICHRF"},{"quantity":"1","name":"Alderton Ham?  (Sliced)","price":"5.95","currency":"GBP","sku":"CMHA200"},{"quantity":"2","name":"Red Fox Cheese and Onion Pasty  (Individual) (250g)","price":"2.85","currency":"GBP","sku":"BACOP"},{"quantity":"1","name":"Sirloin Steak","price":"5.25","currency":"GBP","sku":"RBESS"},{"quantity":"2","name":"Gourmet Traditional Scotch Egg (200g)","price":"2.85","currency":"GBP","sku":"CMSE"},{"quantity":"1","name":"Personalised Message Check Box (No)","price":"0.00","currency":"GBP"},{"quantity":"1","name":"Discount for the subtotal of order","price":"-7.96","currency":"GBP"}],"shipping_address":{"recipient_name":" xxxx xxxxxxx","line1":"xxx All Saints Close","city":"London","country_code":"GB","postal_code":"SW8 xxx","state":""},"shipping_phone_number":"07973xxxxx"}}],"state":"created","redirect_urls":{"return_url":"https://thecountryvictualler.co.uk/paymentpaypalstandardpro/confirmorder?paymentId=PAYID-L2XJEII8DL723238U264054T","cancel_url":"https://thecountryvictualler.co.uk/paymentpaypalstandardpro/cancelorder"},"create_time":"2020-05-03T09:42:57Z","update_time":"2020-05-03T09:43:24Z","links":[{"href":"https://api.paypal.com/v1/payments/payment/PAYID-L2XJEII8DL723238U264054T","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-L2XJEII8DL723238U264054T/execute","rel":"execute","method":"POST"},{"href":"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1YL842427L5622900","rel":"approval_url","method":"REDIRECT"}]}
    2020.05.03 10:43:25:0352******

    3 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved