Shopifex v0.3.3 ShopifexWeb.PaymentController View Source

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


mix phx.gen.html Shops Plan plans name:string price:string features:array grants:array test:boolean mix phx.gen.html Shops Grant grants shop:references:shops charge_id:integer grants:array

defmodule MyAppWeb.PaymentController do
  use MyAppWeb, :controller
  use ShopifexWeb.PaymentController

  # Thats it! You can now configure your purchasable products :)