I’ve offered help on a few posts over the years and I was wondered if someone could help me piece together something which answers all / most common stripe questions for each of the main components:
- Stripe Connect
- Stripe Subscription
- Stripe one-off payment / Marketplace
The guide here is an excellent starting point: Allow Merchants to Connect their Stripe Account to your App - Adalo Resources
Underneath is my Connect setup:
Problem: When I test this (using Stripe Test Mode) in the Preview and I connect an account by clicking on the “Connect with Stripe” button, it launches a new browser tab and follows the Stripe Connect Standard setup wizard. It confirms that the account was setup successfully and I can close the window. However, the Account ID created by Stripe is not populating the Database in Adalo. Does anyone know why?
I can see the newly created account in Stripe and I can also have Integromat / Make watch for this event but I have no way of updating the user in the Adalo database as there is no ID shared between the 2 databases for me to match on (I could potentially use email but that’s not the point, yet). I can also see these errors in the console referencing the redirect URL but I’ve no idea what they mean:
Again, another excellent starting point: Subscription Payments - Adalo Resources
Problem: When I test this (using Stripe Test Mode) in the Preview I’m able to start a Subscription using the default Adalo component and a test visa card provided by stripe. However, the customer it creates in my Stripe Dashboard is 1) Blank and 2) Not relatable in anyway to my Adalo User (screenshot below). Should I not receive back a customer ID or similar which I can then update my Adalo User with to keep them in sync when it comes to subscription management? It looks like this isn’t built into Adalo but using Integromat / Make could be achieved possibly but only if the customer ID is sent back?
Stripe one-off payment / Marketplace
I think the UI / Component may have been updated since this article but it’s the same principle and I’ve added my own screenshot below https://help.adalo.com/component-basics/marketplace-components/stripe/marketplace-payments/configure-consumer-payment-to-go-to-merchants-accounts
Problem: In the Adalo preview, it works fine to make a payment using a test care but if I share the app and use on my phone or in a private browser, I’m getting this error. So there must be a value not being provided / accessible for some reason but I don’t know what or why. This screen uses a list to show each “payment profile” and is filtered using the PragmaFlow arbitaryJS to filter for a unique list entry.
Other common problems
- When you paste the keys or ID’s from Stripe to Adalo, check the start and end for whitespace and remove as necessary. This is one of those stupidly simple things which causes hours of frustration and errors.
- When testing the connect component and the Account ID is linked to a user or a merchant, make sure you’re logged in as the relevant user or the Merchant is the “current” merchant and that the DB is populated with an ID.
- When previewing and looking for errors, you can use the browser console to give you clues as to where to look to help you debug, etc
Thanks in advance,