I can’t receive online payments confirmation via stripe
-
Hello!
I set up my website on wordpress to receive online payments via a platform called “stripe”
On my website I have set up a webhook to receive calls from the stripe and receive notifications of completed payments.
in my case the webhook in question that receives the stripe notifications is https://ibpan.com.br/novosite/?give-listener=stripe
But I get a Redirect error when stripes try to communicate via this webhook.
I read on the internet that if the hosting provider is enabling some redirect on my site, I won’t be able to use the webhook, because stripe doesn’t accept redirects in its requests.
Can you help me to make this type of communication possible?
Is there any configuration to allow this to work?Thank you very much for your help!
The following error log shows the stripe trying to communicate with the site ibpan.com.br/novosite :
Código de status do HTTP
301 (Moved Permanently)
Solicitação para seu endpoint
{
“id”: “evt_3JKRDhFdhDcXVNck1rvPOEYA”,
“object”: “event”,
“api_version”: “2020-08-27”,
“created”: 1628010962,
“data”: {
“object”: {
“id”: “ch_3JKRDhFdhDcXVNck1n0Npd8s”,
“object”: “charge”,
“amount”: 1000,
“amount_captured”: 1000,
“amount_refunded”: 0,
“application”: “ca_9aCrgIfxIYTRTkMvw30fMqg92su6Sr1i”,
“application_fee”: null,
“application_fee_amount”: null,
“balance_transaction”: “txn_3JKRDhFdhDcXVNck19rhgAtk”,
“billing_details”: {
“address”: {
“city”: null,
“country”: null,
“line1”: null,
“line2”: null,
“postal_code”: null,
“state”: null
},
“email”: “leonardolemos3@gmail.com”,
“name”: “Leonardo Dos Passos Lemos”,
“phone”: null
},
“calculated_statement_descriptor”: “IBPAN – IGREJA”,
“captured”: true,
“created”: 1628010961,
“currency”: “brl”,
“customer”: “cus_JyMN3sySnUWoo5”,
“description”: “Missões Nota 10 – LEONARDO LEMOS (leonardolemos3@gmail.com)”,
“destination”: null,
“dispute”: null,
“disputed”: false,
“failure_code”: null,
“failure_message”: null,
“fraud_details”: {
},
“invoice”: null,
“livemode”: false,
“metadata”: {
“Email”: “leonardolemos3@gmail.com”,
“Donation Post ID”: “3512”,
“Sequential ID”: “8”
},
“on_behalf_of”: null,
“order”: null,
“outcome”: {
“network_status”: “approved_by_network”,
“reason”: null,
“risk_level”: “normal”,
“risk_score”: 60,
“seller_message”: “Payment complete.”,
“type”: “authorized”
},
“paid”: true,
“payment_intent”: “pi_3JKRDhFdhDcXVNck1L2bBYAU”,
“payment_method”: “pm_1JKPf7FdhDcXVNckN7dppzf8”,
“payment_method_details”: {
“card”: {
“brand”: “visa”,
“checks”: {
“address_line1_check”: null,
“address_postal_code_check”: null,
“cvc_check”: null
},
“country”: “US”,
“exp_month”: 2,
“exp_year”: 2029,
“fingerprint”: “paIpKqXG7BjiOFZ9”,
“funding”: “credit”,
“installments”: null,
“last4”: “4242”,
“network”: “visa”,
“three_d_secure”: null,
“wallet”: null
},
“type”: “card”
},
“receipt_email”: “leonardolemos3@gmail.com”,
“receipt_number”: null,
“receipt_url”: “https://pay.stripe.com/receipts/acct_1JK336FdhDcXVNck/ch_3JKRDhFdhDcXVNck1n0Npd8s/rcpt_JyNz23JXZrKZORnFkUTIlaaXhJRyAeQ”,
“refunded”: false,
“refunds”: {
“object”: “list”,
“data”: [
],
“has_more”: false,
“total_count”: 0,
“url”: “/v1/charges/ch_3JKRDhFdhDcXVNck1n0Npd8s/refunds”
},
“review”: null,
“shipping”: null,
“source”: null,
“source_transfer”: null,
“statement_descriptor”: “Ibpan – Igreja”,
“statement_descriptor_suffix”: null,
“status”: “succeeded”,
“transfer_data”: null,
“transfer_group”: null
}
},
“livemode”: false,
“pending_webhooks”: 1,
“request”: {
“id”: “req_qgefg9VkpFX1lZ”,
“idempotency_key”: null
},
“type”: “charge.succeeded”
}
Ocultar linhas
RespostaInvalid encoding: ISO-8859-1
The topic ‘I can’t receive online payments confirmation via stripe’ is closed to new replies.