#himanshu_87167

1 messages · Page 1 of 1 (latest)

flat runeBOT
meager grotto
#

Hi let's chat in this thread

sterile shore
#

how are you

meager grotto
#

I'm well. How can we help?

sterile shore
#

You cannot accept payments using this API as it is no longer supported in India. Please refer to https://stripe.com/docs/payments for accepting payments.

Find a guide to integrate Stripe's payments APIs.

#

i am getting this error

meager grotto
sterile shore
#

i can send you code

meager grotto
#

No the request id is what i need to see

#

But you can send code too if you like

#

Just need that

sterile shore
#

i am working on ecommervce project

#

ecommerce project and iam using stripe developer

#

Route::get('/stripe/{totalprice}',[HomeController::class, 'stripe']);

Route::post('/stripe/{totalprice}',[HomeController::class, 'stripePost'])->name('stripe.post');
this is my controller

meager grotto
#

Please send request id

#

You also exposed your api secret key so I deleted the message

sterile shore
#

This code is in Laravel

meager grotto
#

I just need request id where you're getting the error

sterile shore
#

ok wait

meager grotto
sterile shore
#

req_q5rj9cZJHTNVHd

#

please check

#

POST /v1/charges
Status
400 ERR
ID
req_q5rj9cZJHTNVHd
Time
31/08/23, 7:20:01 pm
IP address
139.167.236.168
API Version
2023-08-16
Source
Stripe/v1 PhpBindings/12.0.0
Idempotency
Key – e0a83c76-2472-4e16-80a9-2816c218370e

#

are you here

meager grotto
#

Yeah I'm helping multiple people

#

Please be patient

sterile shore
#

yes

meager grotto
#

But the issue is you can't use the /charges api in India anymore

#

You need to use payment intents

sterile shore
#

ok but iam using only developer stripe for testing

meager grotto
#

yeah but test mode mimics live mode

#

So you still need to use the latest flows

sterile shore
#

ok