Abby Hudson
01/18/2023, 9:51 AMpending (I assume because they need to confirm with the external provider). At the moment we check for a status of succeeded before creating the refund in Solidus. What would be the best way to handle this? I think that we should listen to the refund.updated event from Stripe. But should we only create the refund in Solidus once we receive this? Or would it be better to add a column onto Spree::Refund for status, set it to pending when created and update when we hear from stripe that it has succeeded? My concern on only creating the refund once we receive this webhook is confusion for customer service because the refund isn't showing for the order in Solidus once requested.Jared Norman
Abby Hudson
01/18/2023, 3:35 PMJared Norman
Alistair Norman
01/18/2023, 5:23 PMAbby Hudson
01/19/2023, 11:31 AMAbby Hudson
01/23/2023, 2:08 PMrefund.updated event? Can I save the refund ID onto the Spree::Refund somehow? I am a bit concerned about accidentally saving the refund twice if we receive an updated event for a refund which was already createdAlistair Norman
01/31/2023, 12:19 AMAlistair Norman
01/31/2023, 12:20 AM