MishkaPay.Ash.Dispute.Sync (Mishka Pay v0.0.1)

Copy Markdown View Source

The :sync, :submit_evidence and :accept actions of the :dispute kind (MishkaPay.Ash.Resource): asks the provider before the action's transaction starts, writes the dispute as the provider answered it, and fires mishka_pay:dispute:changed after. A dispute the provider cannot give is an error on the action, and nothing is written.