Back
Remote OK
Load previous page…
fix Stripe Checkout update card wouldn’t update default card on Customer object because ofcourse Stripe has made it needlessly complicated where after updating you need to retrieve the Stripe Checkout Session object, then from that retrieve the SetupIntent object, then from that retrieve the PaymentMethod object, then put the PaymentMethod object in the Customer object
#remoteok
try debug the problem where sometimes a customer posts a job, then tries to add an extra feature/upsell later, but site can’t charge their card because cards literally just disappear on Stripe, I think this happens because Stripe gets a signal from Visa/MasterCard that a card is removed from system so they remove it too, but that leaves the customer without a card on file and no way to charge
#remoteok