Skip to main content

weirdness with fluent forms and fluent cart with stripe

I just installed fluent cart, but a few days ago setup stripe and built a form connected to stripe. then after installing cart, it is acting weird on the form payment settings. fluent cart has taken over this. either this is super slick or it's not working correctly. I can't tell for sure. One thing for sure is it doesn't look or behave the same after installing fluent cart. The form I was trying to setup was to have subscription to my community, like patreon options. so when signing up for community, offer 3 levels of support and a free option, and a name your own price if they want to support more (I can dream, lol) It seems to work fine just using fluent forms stripe payments, but I thought I should move the support levels to fluent cart as subscriptions there, but it didn't work. I'm sorry, but having a hard time explaining all this.

second question - in fluent cart it seems that there are two ways to have a test setup so that I can buy, sell, refund, etc. without money changing hands so I can test everything before going totally live. In fluent cart stripe settings, I have live credentials and test credentials. on the docs page I see...

https://docs.fluentcart.com/guide/payments-checkout/connecting-payment-gateways/stripe-settings

instructions are for setting up stripe, but I also see sandbox on the stripe website, which I am using, so it seems I can be in test mode two different ways, correct? If using sandbox mode on stripe.com and connect fluent cart to that, isn't that better than the test credentials? or maybe I am just misunderstanding how to set this up. maybe connect test credentials to sandbox on stripe, and connect live credentials to the live version on stripe.com.

Jorge de los Reyes

Following!

Jeff Mapes

I got super interested in implementing a patreon alternative after seeing the latest video from WPMN on the topic, but they didn't really dive into how to implement it, nuts and bolts, but instead, just made the video about "why you should". I would like to see more videos from either WPMN or other creators about how to actually tie all these plugins together to do useful things. I believe that most of the nuts and bolts exist, if you are clever enough to leverage the synergy that exists, but only as potential until you bring it together.

Sarkar Ripon

Question one: I need to recreate this issue to understand what is actually happening. I will provide a response on that later.

Question two: First of all, you cannot connect to the Stripe sandbox account through Stripe Connect. If you really want to test payments where all the payments will land in your sandbox account, you need to use the API key assignment solution. Our default behaviour is to connect Stripe to your business (business profile in Stripe) test environment. So technically, Stripe now has two test environments: one is the test environment in the business profile, and the other is a separate sandbox(Stripe new feature) account. When you connect through the test environment, you will see that all sandbox accounts are greyed out with the message (See X ineligible accounts).

Jeff Mapes

Ripon SarkarΒ thanks for responding. I am having trouble following what you are saying, but yes, I think I wasn't able to connect to my stripe sandbox, but thought maybe I was missing something, like setting up the proper endpoints on the stripe sandbox. I am super leery of crossing the lines of bank fraud, just because I wanted to fully test the system before going full on "live". I was told long ago not to get caught doing transactions with yourself on a payment gateway. I have thought of just changing the price of things to $1 or less for each item, and then asking friends to test, but that gets quickly complicated for taxes and accounting. I am not super savvy in business, and am pretty cautious about learning anything the "hard way" πŸ˜… What is the use case of stripe offering a sandbox if they don't let you connect your shopping cart to it?

Sarkar Ripon

Stripe:

# Define properties for live

FCT_STRIPE_LIVE_PUBLIC_KEY

FCT_STRIPE_LIVE_SECRET_KEY

# Define properties for test

`FCT_STRIPE_TEST_PUBLIC_KEY`

`FCT_STRIPE_TEST_SECRET_KEY`

PayPal:

# Define properties for live

FCT_PAYPAL_LIVE_PUBLIC_KEY

FCT_PAYPAL_LIVE_SECRET_KEY

# Define properties for test

FCT_PAYPAL_TEST_PUBLIC_KEY

FCT_PAYPAL_TEST_SECRET_KEY

Please define this API key in your wp-config.php file and then follow the webhook configuration guide. Feel free to ask if you need any further assistance.

Jeff Mapes

Ripon Sarkar I have spent hours on this trying to figure it out. after reading your reply, I'm now more confused. my stripe dashboard doesn't look like this example you shared in the sandbox, but it does show the api keys when I leave sandbox dashboard.

you said...

Stripe:

# Define properties for live

FCT_STRIPE_LIVE_PUBLIC_KEY

FCT_STRIPE_LIVE_SECRET_KEY

# Define properties for test

`FCT_STRIPE_TEST_PUBLIC_KEY`

`FCT_STRIPE_TEST_SECRET_KEY`

Please define this API key in your wp-config.php file but it is showing connected for test as in screenshots below, and I did not do this step, and when checking wp-config.php, there is nothing already there like that.

and I see nothing in the docs about that here...

https://docs.fluentcart.com/guide/payments-checkout/connecting-payment-gateways/stripe-settings

you said follow the webhook configuration guide.
where is this? on stripe?

regardless of how well I understand, it seems like I should be safe to test transactions?