products
products copied to clipboard
jbranchaud/sks 90 replace remaining calls to stripedata with getpurchaseinfo
This removes remaining calls to stripeData
(and removes stripeData
itself) and moves the purchaseType
logic up into the getPurchaseInfo
function so that we don't have to do a separate function call that fires off excess network requests.
- feat: extract stripe-specific function
- feat: pull stripe pieces up into outer method
- feat: include purchase type info in info
- feat: fully replace determinePurchaseTypeViaStripe
- feat: finally remove stripeData function