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

Copy Markdown View Source

Reads a payment from its provider before the action's transaction starts and writes what the provider said; after the transaction, fires mishka_pay:payment:changed. A payment the provider cannot give is an error on the action, and nothing is written.