#hellokeys-api-error
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You need to be cautious with that URL as the error is logging your live secret key!
It looks like your code is erroring on this part: https://stripe.com/docs/connect/oauth-standard-accounts#token-request
You need to provide some more details on your integration, code particularly
my code has been checked by a developer from stripe...
zooms us for 2 hours
look my code
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
i have delete SK
i'ts the reponse file
This is the code block that's erroring:
try {
$code = $_GET['code'];
$response = \Stripe\OAuth::token([
'grant_type' => 'authorization_code',
'code' => $code,
]);
$connected_account_id = $response->stripe_user_id;
header("Location: https://mailhellokeys.fr/connect/response.php");
} catch (Exception $e) {
echo 'Failed while claiming code';
var_dump($e);
}
The error message is indicative of a communication issue with our API. Can you ping api.stripe.com from your server?
how to do ?
[leth6336@texas ~]$ ping api.stripe.com
PING api.stripe.com (34.241.202.139) 56(84) bytes of data.
^C
--- api.stripe.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3002ms
i have try this on terminal from server
Seems like there's something blocking your requests. Firewall maybe? Try adding the IPs to your allow list: https://stripe.com/docs/ips#ip-addresses
my host told me that the error could come from this file: ca-certificates.crt
Yeah, maybe. I guess that's your server SSL cert/config
We require API requests to be sent over SSL: https://stripe.com/docs/security/guide#tls
i have letst encrpt ssl on my domain
Did you try adding those IPs to the server firewall allow list?
Something is blocking your server from communicating with our API
I'm not sure, sorry!
[leth6336@texas ~]$ ping api.stripe.com
PING api.stripe.com (34.240.123.193) 56(84) bytes of data.
From texas.o2switch.net (109.234.162.83) icmp_seq=1 Destination Port Unreachable
ping: sendmsg: Opération non permise
From texas.o2switch.net (109.234.162.83) icmp_seq=2 Destination Port Unreachable
ping: sendmsg: Opération non permise
From texas.o2switch.net (109.234.162.83) icmp_seq=3 Des
You should run this script on your server: https://github.com/stripe/stripe-reachability
But yeah, something is blocking access (I suspect the firewall). You need to remedy that
i have add this ip to the list
13.112.224.240
13.115.13.148
13.210.129.177
13.210.176.167
13.228.126.182
13.228.224.121
13.230.11.13
13.230.90.110
13.55.153.188
13.55.5.15
13.56.126.253
13.56.173.200
13.56.173.232
13.57.108.134
13.57.155.157
13.57.156.206
13.57.157.116
13.57.90.254
13.57.98.27
18.194.147.12
18.195.120.229
18.195.125.165
34.200.27.109
34.200.47.89
34.202.153.183
34.204.109.15
34.213.149.138
34.214.229.69
34.223.201.215
34.237.201.68
34.237.253.141
34.238.187.115
34.239.14.72
34.240.123.193
34.241.202.139
34.241.54.72
34.241.59.225
34.250.29.31
34.250.89.120
35.156.131.6
35.156.194.238
35.157.227.67
35.158.254.198
35.163.82.19
35.164.105.206
35.164.124.216
50.16.2.231
50.18.212.157
50.18.212.223
50.18.219.232
52.1.23.197
52.196.53.105
52.196.95.231
52.204.6.233
52.205.132.193
52.211.198.11
52.212.99.37
52.213.35.125
52.22.83.139
52.220.44.249
52.25.214.31
52.26.11.205
52.26.132.102
52.26.14.11
52.36.167.221
52.53.133.6
52.54.150.82
52.57.221.37
52.59.173.230
52.62.14.35
52.62.203.73
52.63.106.9
52.63.119.77
52.65.161.237
52.73.161.98
52.74.114.251
52.74.98.83
52.76.14.176
52.76.156.251
52.76.174.156
52.77.80.43
52.8.19.58
52.8.8.189
54.149.153.72
54.152.36.104
54.183.95.195
54.187.182.230
54.187.199.38
54.187.208.163
54.238.140.239
54.65.115.204
54.65.97.98
54.67.48.128
54.67.52.245
54.68.165.206
54.68.183.151
107.23.48.182
107.23.48.232
i have try your script : https://pastebin.com/KWeTLKeb
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
you can check
Ok, so maybe the API isn't the issue and the server certificates are
Either way, it's something that you need to work through and debug on your end
my host asks for more information, I have more than 18000€ blocked help me because it becomes urgent
Hi! I'm taking over this thread.