#islecavern

1 messages · Page 1 of 1 (latest)

young oracleBOT
mighty pumice
#

Hello! Can you provide more details? What specific issues are you running into?

#

I redirect to checkout using the Stripe redirectToCheckout method in Javascript, with a successUrl and a cancelUrl to go back to my website, but it doesn't allow that

#

it says integration error
and if I just provide a session id, it will go to the checkout page, but then not redirect after

#

What is the full integration error you're seeing?

violet rapids
#

Its going to take a while becuase I changed all my code since the error trying to do something else and I will have to put it all back now to get that error

mighty pumice
mighty pumice
#

How are things going?

violet rapids
#

I'm confused

#

is that supposed to be a stripe checkout session that I redirect to somehow or that I render directly on my website?

#

and should I create it and use it on my server using php or on my client using javascript?

mighty pumice
#

You're not creating Checkout Sessions now? Can you tell me more about how your integration works?

violet rapids
#

I originally just had the stripe checkout form that acts as a popup with no redirect required.

#

I had to ditch that though, because I am trying to add a promo code to the checkout

#

and the old style popup didn't seem to have a way to do that

#

so ever since then, I haven't figured out how to get things working

mighty pumice
#

Are you looking for the simplest solution possible?

violet rapids
#

yes

#

I would like to do it with the simple popup form

#

but I need to add a promo code with that

mighty pumice
#

You can't do it with a popup.

violet rapids
#

That's what I started using

#

but when I used the payment link

#

it would not redirect back to my website after submitting the form

mighty pumice
#

What happened after you submitted the form?

violet rapids
#

it just stayed on the stripe website

#

and I had to click the back arrow to get back to my website

mighty pumice
#

Did you create the Payment Link in the Dashboard?

violet rapids
#

yes

mighty pumice
#

Did you configure this setting?

#

Then try the Payment Link again.

#

Oh, don't forget to click on the Update link button in the top right after making changes.

violet rapids
#

no, I didn't notice the "After Payment" tab

mighty pumice
#

Does that solve the issue? Will Payment Links work for you?

violet rapids
#

maybe, I will see

#

I think so

mighty pumice
#

Awesome! 🙂

violet rapids
#

what about payment links to update a subscription?

#

to either update the credit card used to pay the existing subscription

#

or to change the promo code associated with the the exisitng subscription

mighty pumice
young oracleBOT
violet rapids
#

ok

#

Is there a .css file for stripe that I can use to make elements such as buttons styled in the way the stripe styles them in my html?

haughty marlin
#

hey there, if you mean styling your own elements like our elements, no we don't provide anything to achieve that, but you could certainly inspect the styling of any element and apply the same to another of your choosing

violet rapids
#

oh ok - I was just trying to make buttons that lead to your checkout links and such look like the stripe style

haughty marlin
#

Ohhh, gotcha

violet rapids
#

ok thank you

#

I just want to be absolutely sure about something

haughty marlin
#

No, that's a legacy integration that doesn't support any of our recent features