Role isn't assigned when Apply Pay, Google Wallet or Link is used

Created on 18 June 2024, 6 months ago
Updated 19 June 2024, 6 months ago

When using any of these wallet payment methods, the role isnt assigned (I actually think it may be assigned and removed again immeditaley), there must be something getting sent in the webhook that is different to a normal card payment resulting in the role not being assigned properly.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom problue solutions Northern Ireland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @problue solutions
  • 🇬🇧United Kingdom problue solutions Northern Ireland

    Just some more info - I suspect this is caused by customer.subscription.created and customer.subscription.updated events being received from Stripe at exactly the same time, this scenario seems to only occur when customer pays with a wallet method, when customer pays using standard credit card method these events are not recieved at exactly the same time.

    I suspect the these two events when received at the same time are creating some kind of conflict and the code is provsioning the role and then removing it almost immediately because a second local subscription is created that remains unpaid.

Production build 0.71.5 2024