• Getting error after trying to pay with Razorpay on confirmation page

    “Service Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.”

    While looking at Woocommerce log, I see a long log with repeated line.

    2023-04-13T08:02:38+00:00 INFO Creating razorpay webhook
    2023-04-13T08:03:53+00:00 INFO Called process_payment with params order_id 998
    2023-04-13T08:03:53+00:00 INFO Set transient with key razorpay_wc_order_id params order_id 998
    2023-04-13T08:03:54+00:00 INFO getRazorpayPaymentParams 998
    2023-04-13T08:03:54+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
    2023-04-13T08:03:54+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
    2023-04-13T08:03:54+00:00 INFO razorpayOrderId  | sessionKey razorpay_order_id998
    2023-04-13T08:03:54+00:00 INFO Called createRazorpayOrderId with params orderId 998 and sessionKey razorpay_order_id998
    2023-04-13T08:03:54+00:00 INFO Called getOrderCreationData with params orderId 998
    2023-04-13T08:03:54+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
    2023-04-13T08:03:54+00:00 INFO For order 998
    2023-04-13T08:03:54+00:00 INFO {"receipt":998,"amount":230,"currency":"INR","payment_capture":1,"app_offer":1,"notes":{"woocommerce_order_number":"998"}}
    2023-04-13T08:03:55+00:00 INFO For order session key razorpay_order_id998
    2023-04-13T08:03:57+00:00 INFO getRazorpayPaymentParams 998
    2023-04-13T08:03:57+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
    2023-04-13T08:03:57+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
    2023-04-13T08:03:57+00:00 INFO razorpayOrderId order_LdCeOnvDSWneka | sessionKey razorpay_order_id998
    2023-04-13T08:03:57+00:00 INFO Called verifyOrderAmount with params orderId 998 and rzporderId order_LdCeOnvDSWneka
    2023-04-13T08:03:58+00:00 INFO Called getOrderCreationData with params orderId 998
    2023-04-13T08:03:58+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
    2023-04-13T08:03:59+00:00 INFO getRazorpayPaymentParams 998
    2023-04-13T08:03:59+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
    2023-04-13T08:03:59+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
    2023-04-13T08:03:59+00:00 INFO razorpayOrderId order_LdCeOnvDSWneka | sessionKey razorpay_order_id998
    2023-04-13T08:03:59+00:00 INFO Called verifyOrderAmount with params orderId 998 and rzporderId order_LdCeOnvDSWneka
    2023-04-13T08:04:00+00:00 INFO Called getOrderCreationData with params orderId 998
    2023-04-13T08:04:00+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
    2023-04-13T08:04:01+00:00 INFO getRazorpayPaymentParams 998

    And this keeps on repeating…

    Please help. This is custom coded website.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter prakashchaubey08

    (@prakashchaubey08)

    In addition, while i looked inside razorpay logs, this is what got for approx 30 times:

    API Request: 88edf0e6-a3f7-436d-8f68-862c6efd2836
    Method and Endpoint
    GET/orders/order_LdHmirF0Grq45V
    Request URL
    https://api.razorpay.com/v1/orders/order_LdHmirF0Grq45V
    Status
    200
    ----
    
    Details
    --
    Request Headers
    
    {
      "x-razorpay-request-id": {
        "values": [
          "88edf0e6-a3f7-436d-8f68-862c6efd2836"
        ]
      }
    }
    ---
    
    Request
    
    {
      "message": "unsupported content type."
    }
    ---
    
    Response Headers
    
    []
    ---
    
    Response
    
    {
      "amount": 230,
      "amount_due": 230,
      "amount_paid": 0,
      "attempts": 0,
      "created_at": 1681391116,
      "currency": "INR",
      "entity": "order",
      "id": "order_LdHmirF0Grq45V",
      "notes": {
        "woocommerce_order_number": "1000"
      },
      "offer_id": null,
      "receipt": "1000",
      "status": "created"
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Getting 503 and service unavailable error after payment page via razorpay’ is closed to new replies.