Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Introduce stripe mandate for indian customers #1887

Merged
merged 8 commits into from
Jun 26, 2024

Conversation

shadrak98
Copy link
Contributor

@shadrak98 shadrak98 commented Jun 19, 2024

Issue:

Lots of Indian customer on Frappe Cloud were facing the issue that their card were not being auto deducted for the Invoice payment even after having sufficient balance. Turns out most of these card errors were due to missing mandate.

What is a Mandate?

Mandates are consent given by customers to the service provider to auto deduct their card for the authorised invoices.
It will allow service providers to deduct the customers card for the generated invoice without customers intervention. However, there is a threshold of 15000 INR upto which service provider can charge the card without customer's intervention. Any invoice above 15k Inr should require an extra authorisation mechanism only after which the card will be charged.

How does this PR help:

For new Indian customers, mandates will be created automatically henceforth whenever they add a card. For existing customers, users have to remove and add their card again.

image

image

image

@netchampfaris
Copy link
Contributor

netchampfaris commented Jun 24, 2024

@shadrak98 we should also show whether mandate is set or not in the billing UI in card list view

@shadrak98 shadrak98 marked this pull request as ready for review June 24, 2024 17:28
@shadrak98 shadrak98 requested a review from BreadGenie as a code owner June 24, 2024 17:28
@shadrak98 shadrak98 requested a review from netchampfaris June 24, 2024 17:41
@shadrak98 shadrak98 merged commit 59d73b9 into frappe:master Jun 26, 2024
3 of 5 checks passed
@shadrak98 shadrak98 deleted the stripe-mandate branch June 26, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants