Stripe Webhooks Error

This topic contains 5 replies, has 3 voices, and was last updated by  Kiran 7 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #363196

    Michael Storzieri
    Expired Member
    Post count: 27

    I Received this from Stripe:
    We’ve attempted to notify the endpoint 574 times since February 19 at 04:37PM. If this endpoint is important to your application, please try and fix the issue. If you do not need the webhook endpoint you can delete it from your Stripe webhook settings. We will stop sending notifications to your webhook by February 28.

    One recent call to your endpoint returned an HTTP status code 301, with a redirect to https://successpartnerdna.com/gd-info/?pay_action=ipn&pmethod=stripe . If you intended to have notifications sent to that URL, you may just want to update your webhook URL to https://successpartnerdna.com/gd-info/?pay_action=ipn&pmethod=stripe . You can view the event for this failed notification here: https://dashboard.stripe.com/test/events/evt_19oxgrI2D6oeb4wUPmFXwhEm. To acknowledge receipt of a webhook, your endpoint should return a 2xx HTTP status code.

    I ran Stripe’s Webhook test and received this info:

    Webhook:

    http://successpartnerdna.com/gd-info/?pay_action=ipn&pmethod=stripe

    TEST
    Request:

    {
    “created”: 1326853478,
    “livemode”: false,
    “id”: “evt_00000000000000”,
    “type”: “charge.succeeded”,
    “object”: “event”,
    “request”: null,
    “pending_webhooks”: 1,
    “api_version”: “2017-01-27”,
    “data”: {
    “object”: {
    “id”: “ch_00000000000000”,
    “object”: “charge”,
    “amount”: 1695,
    “amount_refunded”: 0,
    “application”: null,
    “application_fee”: null,
    “balance_transaction”: “txn_00000000000000”,
    “captured”: true,
    “created”: 1487522257,
    “currency”: “usd”,
    “customer”: “cus_00000000000000”,
    “description”: null,
    “destination”: null,
    “dispute”: null,
    “failure_code”: null,
    “failure_message”: null,
    “fraud_details”: {},
    “invoice”: “in_00000000000000”,
    “livemode”: false,
    “metadata”: {},
    “on_behalf_of”: null,
    “order”: null,
    “outcome”: {
    “network_status”: “approved_by_network”,
    “reason”: null,
    “risk_level”: “normal”,
    “seller_message”: “Payment complete.”,
    “type”: “authorized”
    },
    “paid”: true,
    “receipt_email”: null,
    “receipt_number”: null,
    “refunded”: false,
    “refunds”: {
    “object”: “list”,
    “data”: [],
    “has_more”: false,
    “total_count”: 0,
    “url”: “/v1/charges/ch_19oxgrI2D6oeb4wUnP0RM38e/refunds”
    },
    “review”: null,
    “shipping”: null,
    “source”: {
    “id”: “card_00000000000000”,
    “object”: “card”,
    “address_city”: null,
    “address_country”: null,
    “address_line1”: null,
    “address_line1_check”: null,
    “address_line2”: null,
    “address_state”: null,
    “address_zip”: null,
    “address_zip_check”: null,
    “brand”: “American Express”,
    “country”: “US”,
    “customer”: “cus_00000000000000”,
    “cvc_check”: “pass”,
    “dynamic_last4”: null,
    “exp_month”: 2,
    “exp_year”: 2020,
    “funding”: “credit”,
    “last4”: “8431”,
    “metadata”: {},
    “name”: “[email protected]”,
    “tokenization_method”: null
    },
    “source_transfer”: null,
    “statement_descriptor”: null,
    “status”: “succeeded”,
    “transfer_group”: null
    }
    }
    }

    Response:

    <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>
    <h1>Moved Permanently</h1>
    <p>The document has moved here.</p>
    </body></html>

    Please help,
    Mike

    #363215

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please provide admin credentials and we will have a look.

    Thanks

    #363225

    Michael Storzieri
    Expired Member
    Post count: 27
    This reply has been marked as private.
    #363282

    Kiran
    Moderator
    Post count: 7069

    Hi Michael,

    You have to change http:// to https:// in webhook url at Stripe webhook settings.
    Set url https://successpartnerdna.com/gd-info/?pay_action=ipn&pmethod=stripe at Stripe webhook url.

    I have tested it with my test account and it worked for me.

    Thanks,
    Kiran

    #363392

    Michael Storzieri
    Expired Member
    Post count: 27

    Your wise words have worked.

    Thank you,
    Mike

    #363521

    Kiran
    Moderator
    Post count: 7069

    Great 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount