{"push_id":1349366612,"size":2,"distinct_size":2,"ref":"refs/heads/feature/shopify/import-refunds","head":"cf1befe43c3f1c0f7cb9b0bc73aed18e0e489a35","before":"f160d335ea448017372169dd81a1becd2f1d0c01","commits":[{"sha":"41eb0d605b49263e4c9f0e3d6fccd1b435421cc4","author":{"name":"Charles-Andre Bouffard","email":"cd97d0ba3969bca7956f0d8ad2acb36fa47a8af4@gmail.com"},"message":"Add class that will import refund from Shopify orders","distinct":true,"url":"https://api.github.com/repos/glossier/solidus_retail/commits/41eb0d605b49263e4c9f0e3d6fccd1b435421cc4"},{"sha":"cf1befe43c3f1c0f7cb9b0bc73aed18e0e489a35","author":{"name":"Charles-Andre Bouffard","email":"cd97d0ba3969bca7956f0d8ad2acb36fa47a8af4@gmail.com"},"message":"Add logic to not re-send refund to Shopify\n\nThe problem I am facing is that we wanted to refund orders on Shopify\nwhen they were refunded on Solidus. Which works fine at the moment.\n\nBut now that we want it the other way around, which is saving the refund\non Solidus when it's done in Solidus, this gets a little bit more crazy.\n\nWe will receive the event and we will proceed to do the Solidus refund\nwhen a Shopify refund is done. When creating a Solidus refund at a later\nstep it tries to do a refund on the Gateway, but in our scenario the\nGateway is Shopify.\n\nWhich makes the following scenario happen: Shopify Refund -> Solidus\nRefund -> ShopifyRefund and then it crashes because there are nothing\nmore to refund on Shopify.\n\nThis is a WIP solution for this problem.","distinct":true,"url":"https://api.github.com/repos/glossier/solidus_retail/commits/cf1befe43c3f1c0f7cb9b0bc73aed18e0e489a35"}]}
{"actor":{"display_login":"cabouffard"}}