Actions
Bug #7455
closedStripe: missing metadata can cause basket id to not be found
Description
Subscription IPNs don't pass their metadata to their sub-objects (e.g. charges or invoices) which means the fallback behavior of trying to find basket based off charge id or subscription id has to be applied. Implement a function that can work backwards through Stripe API if that fallback fails so we can try to get the basket id from the metadata. This ensures the reliability of the IPNs to find their basket.
Actions