Project

General

Profile

Actions

Bug #7455

closed

Stripe: missing metadata can cause basket id to not be found

Added by krileon almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05 February 2019
Due date:
% Done:

100%

Estimated time:

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

Also available in: Atom PDF