Skip to content

Commit c943c42

Browse files
committed
improved formating
1 parent 51be10d commit c943c42

11 files changed

+325
-305
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
keywords: ['deployment', 'error', 'identification']
3+
slug: /codemagic-deployment-error-identification
4+
title: Codemagic Deployment Error Identification
5+
---
6+
# Codemagic Deployment Error Identification
7+
8+
## How to Identify Your Codemagic Error
9+
10+
Follow the steps below to identify your codemagic error:
11+
12+
- Press **Cmd/Ctrl + k**, type **"deployment"** and hit enter. It will take you to the deployment page.​
13+
14+
![](../assets/20250430121346608131.png)
15+
16+
- Navigate to the Deployment section by clicking **Project Settings** > **Deployment** (under App Settings).​
17+
18+
![](../assets/20250430121346890273.png)
19+
20+
21+
- Click on the **Failed (VIEW LOGS)** text to see the logs. ​
22+
23+
![](../assets/20250430121347217644.png)
24+
25+
In this step, you'll need to note the Failed Step that been displayed by CodeMagic error log. ​
26+
27+
![](../assets/20250430121347593094.png)
28+
29+
30+
- Now, press **Cmd/Ctrl + F** to search for the term **"error"** in the logs to find the root cause of the issue. Keep pressing **"Enter"** till you find the error ( this is usually at the bottom of the logs ).
31+
32+
If you search for "error" and still don't find an error message that makes sense to you then you can also try with the following keyword:
33+
- message
34+
35+
![](../assets/20250430121347925706.png)
36+
37+
- Now select and copy this error message and paste it in the Help Center search in the chat icon in the bottom-right corner to search the error. This will help you find the help article for this issue and then you can find the fix for it.
38+
39+
![](../assets/20250430121348293622.gif)

docs/troubleshooting/deployment/codemagic_deployment_tips.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@ title: CodeMagic Deployment Tips
55
---
66
# CodeMagic Deployment Tips
77

8-
Here are some tips to avoid Deployment issues in FlutterFlow:
8+
Here are some tips to avoid Deployment issues:
99

1010
:::tip
11-
Make sure you've followed all the steps for setting up deployment in your project.
12-
13-
If you choose a deployment source from a GitHub Repository then please make sure that it's associated with FlutterFlow's GitHub integration.
14-
15-
If you are deploying to the Play Store from a GitHub repo, make sure to modify your build.gradle file to sign in release mode.
16-
:::
17-
18-
19-
Setting a version number is optional but may be required for specific cases. If you are updating an existing app that has not been deployed using FlutterFlow yet, you will want to specify a version number.
20-
11+
- Make sure you've followed all the steps for setting up deployment in your project.
12+
- If you choose a deployment source from a GitHub Repository then please make sure that it's associated with FlutterFlow's GitHub integration.
13+
- If you are deploying to the Play Store from a GitHub repo, make sure to modify your build.gradle file to sign in release mode.
14+
- Setting a version number is optional but may be required for specific cases. If you are updating an existing app that has not been deployed using FlutterFlow yet, you will want to specify a version number.
15+
:::

docs/troubleshooting/deployment/deployment_and_payment_issues_with_stripe_integration_in_flutterflow.md

Lines changed: 0 additions & 99 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
keywords: ['deployment', 'issues', 'integration']
3+
slug: /deployment-issues-with-stripe-integration
4+
title: Deployment Issues with Stripe Integration
5+
---
6+
# Deployment Issues with Stripe Integration
7+
8+
Integrating Stripe in your FlutterFlow project can help you accept payments efficiently. However, some common deployment issues may arise. This article outlines key steps and best practices to ensure a smooth Stripe integration and deployment experience.
9+
10+
1. **Firebase Connection**
11+
12+
Stripe integration requires a connected Firebase project. Before running through this checklist, it's important to ensure your FlutterFlow project is linked to Firebase, a crucial step for successful payment processing. Detailed guidance can be found at [FlutterFlow's Firebase Setup Guide](https://docs.flutterflow.io/data-and-backend/firebase/firebase-setup).
13+
14+
2. **Upgrade to Firebase Blaze Plan**
15+
16+
Stripe functionality requires a Firebase Blaze Plan for operational capabilities. To avoid disruptions, you will need to upgrade from the Firebase Spark plan to the Blaze plan. Learn more about Google's process for upgrading [here](https://firebase.google.com/docs/projects/billing/firebase-pricing-plans).
17+
18+
3. **Set the Google Cloud Platform (GCP) Location**
19+
20+
A defined Google Cloud Platform (GCP) location for your Firebase project ensures the correct regional operation of services. The absence of a set location can hinder the deployment process.​
21+
22+
![](../assets/20250430121121827511.png)
23+
24+
4. **Firebase Project Permissions**
25+
26+
Ensure you have the necessary permissions enabled for your Firebase project. Two critical permissions involve access management and service configuration. You can reference the [setup guide](https://docs.flutterflow.io/data-and-backend/firebase/firebase-setup)on FlutterFlow Documentation on FlutterFlow Documentation.​
27+
28+
![](../assets/20250430121122068343.png)
29+
30+
5. **Correct Merchant Code**
31+
32+
Use the correct 3-letter merchant country code (e.g., "GBR" for the United Kingdom vs. "UK"). Incorrect codes can lead to failed transactions. For accurate codes, refer to [IBAN Country Codes](https://www.iban.com/country-codes).​
33+
34+
![](../assets/20250430121122307123.png)
35+
36+
![](../assets/20250430121122597517.png)
37+
38+
6. **Test and Live Keys**
39+
40+
For deployment, both Test and Live Stripe keys must be configured in your project settings, regardless of the development stage. This ensures Stripe's API can properly interact with your application.​
41+
42+
![](../assets/20250430121122925141.png)
43+
44+
7. **Consistent Region Settings**
45+
46+
Align your Firebase project's region with that of your FlutterFlow settings to prevent deployment failures. Inconsistencies can cause function deployment issues.​
47+
48+
![](../assets/20250430121123230941.png)
49+
50+
![](../assets/20250430121123502329.png)
51+
52+
If you find that this article hasn't fully addressed your concerns or if you have more questions, please don't hesitate to reach out to us at [email protected]
53+
54+

docs/troubleshooting/deployment/deployment_issues_with_stripe_integration_in_flutterflow.md

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
keywords: ['deployment', 'firebase', 'razorpay']
3+
slug: /fixing-razorpay-deployment
4+
title: Fixing Razorpay Deployment
5+
---
6+
# Fixing Razorpay Deployment
7+
8+
Razorpay is a major payment processor in India. Integrating [Razorpay](https://razorpay.com/) can allow users to make payments using their app. This article outlines some common scenarios and troubleshooting instructions for Razorpay deployment issues.
9+
10+
1. **Firebase Integration and Auth**
11+
12+
FlutterFlow uses Firebase integration and cloud functions to facilitate Razorpay payments. Ensure you have Firebase configured in your FlutterFlow project and that Firebase Auth is enabled.
13+
14+
![](../assets/20250430121119193097.png)
15+
![](../assets/20250430121119493481.png)
16+
17+
2. **Firebase Blaze Plan**
18+
19+
Razorpay uses cloud functions behind the scenes to facilitate payments. Cloud functions are a part of Firebase's "Blaze" plan. You must upgrade from the Firebase Spark plan to the Blaze plan to avoid disruptions. Learn how to upgrade here. On the bottom left side of your Firebase console, you will see which plan you are on
20+
21+
![](../assets/20250430121119754142.png)
22+
23+
3. **Set Google Cloud Location**
24+
25+
Ensuring your Firebase project is pinned to a specific Google Cloud Platform (GCP) location is key for optimal service functionality across regions. Skipping this step could result in errors.​
26+
27+
![](../assets/20250430121120027064.png)
28+
29+
4. **Firebase Project Permissions**
30+
31+
Make sure your Firebase project has the required permissions activated. Access management and service configuration are two essential permissions to focus on. For guidance on setting these up, look at the instructions in the [FlutterFlow Project Setup](https://docs.flutterflow.io/resources/projects/settings/project-setup/).
32+
33+
5. **Razorpay Keys Check**
34+
35+
Make sure to copy and paste the correct Key ID and Key Secret from Razorpay for testing and production, respectively. For testing, make sure "Is Production" is turned off.
36+
37+
![](../assets/20250430121120324713.png)
38+
39+
![](../assets/20250430121120614698.png)
40+
41+
![](../assets/20250430121120833797.png)
42+
43+
6. **Razorpay Business Name**
44+
45+
Finally, ensure you have entered the proper "Business Name" in the Razorpay additional settings in FlutterFlow. Make sure this business name matches your business name in Razorpay records.
46+
47+
![](../assets/20250430121121100378.png)
48+
49+
:::info[Other Considerations]
50+
Razorpay currently works only on mobile (Android and iOS). This is due to a limitation from Razorpay's Flutter Package. If you are planning to collect payments on a web app - consider using Stripe.
51+
52+
![](../assets/20250430121121294657.png)
53+
54+
:::
55+
56+
If you are still facing issue with deploying Razorpay on Flutterflow, please feel free to reach out to [email protected]
57+

0 commit comments

Comments
 (0)