-
Notifications
You must be signed in to change notification settings - Fork 207
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
Fix subscription processing with mandates #3323
Conversation
@wjrosa I've been trying to replicate this using a different set of instructions that might make it easier to test.
I'm not really sure what's happening there but I wanted to comment my findings before I need to move on to test other things. I also wanted to note that Stripe's API docs suggest that the value in the
|
Thanks for sharing your findings, James! I asked the Stripe team about this issue on p1723152195794419-slack-C9976E5MJ . I hope they can help us find a proper solution 🙏 |
Closing in favor of #3359 |
Fixes #3230
Changes proposed in this Pull Request:
This PR fixes the processing of subscriptions when using mandates (i.e., when using Indian credit cards). This is done by forcing the
amount_type
parameter tomaximum
and theinterval
parameter tosporadic
in all cases. More information on this here.Testing instructions
fix/fix-subscription-processing-with-mandates
)Indian Rupee
wp-admin/admin.php?page=wc-settings&tab=subscriptions
develop
branch it should fail* You can simulate both by editing the
_schedule_start
and_schedule_next_payment
metas. Subtracting 15 days from eachchangelog.txt
andreadme.txt
(or does not apply)Post merge