# Form Not Redirecting To Stripe Checkout

**URL:** <https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770>\
**Category:** Support\
**Created:** [June 2, 2024, 2:36am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770 "2024-06-02T02:36:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alyx](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/alyx/32/483_2.png) [@Alyx](https://community.feathery.io/u/Alyx)\
**Post date:** [June 2, 2024, 2:36am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/1 "2024-06-02T02:36:11Z")

</div>

I’m having trouble setting up a redirect to Stripe Checkout.

Products have been set up in Stripe. Integration has been set to “Stripe Checkout”. I’ve added the following properties to the bundle selector:

 ![Screenshot 2024-06-02 at 11.54.28 AM](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/19c7b2226663c9689b06b37fd896c5f1fb99772c.png)

I’ve then added the following properties to the checkout button:

![Screenshot 2024-06-02 at 11.54.46 AM](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/58d8809788e106f5630d881d8769e676d7c73a1f.png)

Hope someone can help, we can’t go live till this is resolved.

Thanks

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [June 3, 2024, 2:17am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/2 "2024-06-03T02:17:19Z")

</div>

Which form and step is this?

---

<div class="post-metadata">

**Author:** ![Alyx](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/alyx/32/483_2.png) [@Alyx](https://community.feathery.io/u/Alyx)\
**Post date:** [June 3, 2024, 2:20am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/3 "2024-06-03T02:20:57Z")

</div>

Ezivisa form, step 3 Select Your Bundle

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [June 3, 2024, 4:32am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/4 "2024-06-03T04:32:20Z")

</div>

If you check the developer console, you’ll see the error

`IntegrationError: You should not use your secret key with Stripe.js. Please pass a publishable key instead.`

This means your auth keys you set in your stripe integration are incorrect, and you entered the secret key where it’s asking for the publisable key instead

---

<div class="post-metadata">

**Author:** ![Alyx](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/alyx/32/483_2.png) [@Alyx](https://community.feathery.io/u/Alyx)\
**Post date:** [June 3, 2024, 7:10am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/5 "2024-06-03T07:10:38Z")

</div>

Changed the keys and everything worked great. Thank you.

I’ve got 2 more questions:

1. Is there a way to make the following work? (Step 3 Select Your Bundle \> Essential)

If container is clicked and checkbox IS checked (checked by default) then add X product to cart

If container is clicked AND checkbox IS NOT checked (checked by default) then add Y product to cart

1. Is there a way to redirect the customer back to our form to complete their ID Verification (Step 4) and submit their form after they have paid using Stripe checkout?

---

<div class="post-metadata">

**Author:** ![Alyx](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/alyx/32/483_2.png) [@Alyx](https://community.feathery.io/u/Alyx)\
**Post date:** [June 3, 2024, 10:56pm UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/6 "2024-06-03T22:56:35Z")

</div>

Update: Solved Q2, but still haven’t solved Q1.

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [June 4, 2024, 3:32am UTC](https://community.feathery.io/t/form-not-redirecting-to-stripe-checkout/770/7 "2024-06-04T03:32:40Z")

</div>

This can be done using feathery custom logic: [Advanced Logic & API Connections | Feathery Docs](https://docs.feathery.io/platform/build-forms/logic/advanced)

You could have a rule run when teh checkbox is checked or unchecked and dynamically set the quantities of the products you want to purchase
