#bowbow-checkout-asp.net

1 messages · Page 1 of 1 (latest)

lyric sparrow
#

@spice pecan hello! What's your exact question?

spice pecan
#

hello sir

#

the problem is unable to redirect me to the Stripe checkout page

#

when i clicked the button (btnpay) it justt nothing happens

spice pecan
#

session id can be generate

#

so not sure what is the problem right now

lyric sparrow
#

Simplify your integration drastically. Don't try to redirect client-side with redirectToCheckout(). Instead, the Session you create server-side has the Url property, just redirect with asp.net, server-side, to that URL

spice pecan
#

sry i am just new to programming

lyric sparrow
#

Totally fine, we'll get there but I have never written asp.NET in my life, so I can only respond in abstract and you have to adapt this to your own programming language/stack

#

Right now, if you read your code, you have Javascript client-side, that will get the Session's id (the cs_test_123456) and then redirect to Checkout. This is complex and that's where you are stuck

#

so don't do that, instead, write code that can redirect you from your server side code

#

you'll want something equivalent in dotnet

spice pecan
#

ok i try to change it

#

tq for the advice