Shopifex v1.0.1 API Reference

Modules

A simple boilerplate package for creating Shopify embedded apps with the Elixir Phoenix framework. https://hexdocs.pm/shopifex

Context behaviour responsible for fetching and using payment grants.

An API for accessing the Shopify session data for the current request.

Fetches the flash in a way which maintains the session within Shopify iFrame

Add payment guards to your routes or controllers!

Ensures that the connection has a valid Shopify webhook HMAC token and builds Shopifex session.

Ensures that the current request contains a valid HMAC token.

This module acts as the context for any database interaction from within the Shopifex package.

The entrypoint for shopifex web interface, such as controllers, views, channels and so on.

You can use this module inside of another controller to handle initial iFrame load and shop installation

Include body_reader: {ShopifexWeb.CacheBodyReader, :read_body, []} in your endpoint.ex file in Plug.Parser options

Conveniences for translating and building error messages.

A module providing Internationalization with a gettext-based API.

You can use this module inside of another controller to handle initial iFrame load and shop installation

You can use this module inside of another one of your application controllers. The conn, shop and topic will be called by handle_topic/3 which you can define in your parent controller.