Skip to content

Issue: Razorpay Returns 502, 500, 504 During Subscription Creation and Payment Validation #306

@parv06

Description

@parv06

We are facing recurring issues where Razorpay API endpoints intermittently return 500, 502, or 504 errors, especially during the subscription flow. These failures are affecting our production environment and impacting user experience.

💥 When This Happens
During subscription creation

Endpoint: POST /v1/subscriptions

Issue: Razorpay sometimes returns 502 Bad Gateway or 500 Internal Server Error.

During payment validation

Endpoint: GET /v1/payments/{payment_id}

Issue: Razorpay randomly returns 504 Gateway Timeout or 500 Internal Server Error, even when the subscription is actually active.

POST /v1/subscriptions
Response: 502 Bad Gateway

@ankitdas13 @naveen-s-rzp @rzp-security-svc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions