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

Copy Markdown View Source

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