Stripe Gateway Handling

1 year 2 months ago #332389 by krileon
Replied by krileon on topic Stripe Gateway Handling
Ok, so there isn't really a problem with the integration then. The user failed to comply with 3D Secure. If that was an older payment it probably wasn't using the newer implementation where we added add_invoice_items usage for the initial payments. Are newer payments still doing the $0 invoice?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

1 year 2 months ago - 1 year 2 months ago #332390 by krileon
Replied by krileon on topic Stripe Gateway Handling
Ok, have investigated further into why we've implemented it this way. The reason is we can't create a subscription through a PaymentIntent. We have to create it after the fact. So the PaymentIntent handles the initial payment. We then defer the subscription to its next renewal cycle using the start date. If we could create a subscription with the PaymentIntent that'd be preferred.

Additionally have found the emails where I directly contacted them about all of this and implemented as per their instructions. So unless things have changed and we don't need to create subscriptions as separate processes there's nothing I can do about the $0 invoice and if it's not causing any actual problems then it's likely not worth being concerned about.

It does appear they have modelled a process for doing this differently though. Appears they want the subscription created first then have the subscription create the payment intent.

stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#how-to-model-it-on-stripe

Will add a feature ticket to moving over to this in a future release, but current implementation should continue to work fine.

forge.joomlapolis.com/issues/9108


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: wjgadmin

Please Log in to join the conversation.

1 year 2 months ago #332394 by wjgadmin
Replied by wjgadmin on topic Stripe Gateway Handling
Thank you for looking into this in depth, you are correct, they prefer it different than it is now. I did expressly let them know that you guys would have followed their documentation. This is why they sent me all the details to provide you guys.

Unfortunately, this did cause an issue because it didn't create the subscription etc... so the user's next payment was captured but expired their subscription on our end because it never existed on Stripe's side :(

The security measure you're referring to was not when they initially signed up with us, it was after the issue occurred & then I had to ask them to resignup (never ideal for customers). During their re-signup, this is when the security measure apparently caused an issue. I found this to be ironic because the initial registration didn't have this problem.

So in addition to handling the subscription ordering, would you please make sure the security measures are in place (if not already). This one is specific to India apparently. Thank you!

Please Log in to join the conversation.

1 year 2 months ago #332395 by krileon
Replied by krileon on topic Stripe Gateway Handling
We don't handle the 3D Secure. Stripe does that during checkout. They'd have to authorize the 3D Secure payment. During payment this should be a popup of some kind in the middle of the page if their bank requires any authorization steps. The current payment process we're doing shouldn't imped this at all, but due to SCA requirements in India it can sometimes cause a payment to be rejected.

Will review redoing our current implementation in a future release, but I don't really have the time to completely rewrite recurring payments behavior at this moment. Their changes to how subscriptions can be made were implemented after our implementation so we'd of course gone that route had it existed at the time.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: wjgadmin

Please Log in to join the conversation.

1 year 2 months ago #332397 by wjgadmin
Replied by wjgadmin on topic Stripe Gateway Handling
Ok, it would be appreciated if this was prioritized, especially given the fact that it has already caused issues and we have not been able to recapture that next payment, thus losing funds.
I understand your situation more than you know, however when items cause financial issues, it is a top priority!
Thank you

Please Log in to join the conversation.

1 year 2 months ago #332399 by krileon
Replied by krileon on topic Stripe Gateway Handling
I'll finish my current tasks (finishing the new layout feature in CB) then review making improvements to CBSubs Stripe, which likely won't be until sometime next week. I've already made an internal note to prioritize this as soon as current tasks are complete.

For now consider switching to Stripe Checkout (hosted payments) to push the responsibility entirely on Stripe and see if that helps with dealing with those payments.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.293 seconds

Facebook Twitter LinkedIn