Find the right CommCare profile for a failed charge response
When a legacy Stripe charge fails, Notis can check supplied CommCare credentials and return the associated user profile for the next authorized step.
Trigger
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
Action
Single Sign On
Tool to validate login credentials and retrieve user profile for a mobile worker or web user. Use when you need to authenticate a user and obtain their profile information including roles, permissions, locations, and configuration details.
Why this helps
Payment issues can require coordination with a program user, but identifying the right CommCare profile adds another manual lookup.
- Retrieve role and location details for a supplied CommCare user
- Reduce switching between Stripe and CommCare during follow-up
- Keep the profile check result in the automation run report
Setup
Build it in a few focused steps.
- 1Connect Stripe and CommCare once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a clear name.
- 3Tell Notis in one instruction to validate supplied CommCare credentials and return the profile details needed for charge follow-up.
- 4Pick the Stripe Charge Failed trigger and choose where run reports should go.
- 5Test with one real failed charge and authorized CommCare credentials.
Questions about this workflow
Does this resolve or retry the payment?
No. It checks CommCare credentials and retrieves a profile. The Stripe event is informational and this action does not retry or change a payment.
Will Stripe provide the CommCare login credentials?
No. Credentials must be supplied through an appropriate secure process. The workflow must not assume the charge event contains them.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to CommCare. A trigger fires from one place; an action lands in another.
Stripe triggers
CommCare actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Lookup Table
Tool to create a new lookup table in a CommCare domain. Use when you need to set up reference data structures like product catalogs, price lists, or configuration tables. Requires 'Edit Apps' permission.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Web User Invitation
Tool to create an invitation for a new web user in CommCare. Use when you need to invite a user with specific role and permissions. Requires 'Edit Web Users & Edit Access API' permissions.
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
List Reports
Tool to retrieve available reports configured in a CommCare project. Use when you need to discover what reports exist before downloading report data via the Download Report Data API.
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
Single Sign On
Tool to validate login credentials and retrieve user profile for a mobile worker or web user. Use when you need to authenticate a user and obtain their profile information including roles, permissions, locations, and configuration details.
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
Submit Form to CommCare
Tool to submit an XForm to CommCare following the OpenRosa standard. Use when you need to submit form data with complete XML including required metadata fields (deviceID, timeStart, timeEnd, username, userID, instanceID).
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Submit Form ODK Compatible
Tool to submit form data using ODK-compatible endpoint for Android client compatibility. Use when submitting XForm data to CommCare. Requires properly formatted XML with metadata including unique instanceID.
Product Created Trigger
Triggered when a product is created in Stripe
Subscription Added Trigger
Triggered when a subscription is added in Stripe
Connect any two apps with Notis in the middle.
Stripe and CommCare, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business CommCare.