@model PayButtonViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.PayButton); ViewData["Title"] = "Pay Button"; }
{{ errors.first('price') }}

Set parameters that define the purchase: price, currency and an optional description of purchase.

Generated HTML will be displayed at the bottom of this page and all you need is to paste that HTML into your final page. Clicking on the button will redirect customer to checkout.

Pay button display options


{{ errors.first('payButtonImageUrl') }}
{{ errors.first('min') }}
{{ errors.first('max') }}
{{ errors.first('step') }}
{{ errors.first('simpleInput') }}
{{ errors.first('fitButtonInline') }}

Preview


Payment Notifications


{{ errors.first('serverIpn') }}
{{ errors.first('notifyEmail') }}
{{ errors.first('browserRedirect') }}

These parameters allow you to influence the process after purchase. Server IPN is the URL to which we'll post purchase data. We can also deliver an email notification to a specified address.

Finally, Browser Redirect defines where BTCPayServer will redirect the customer after purchase is completed.

Advanced


{{ errors.first('checkoutQueryString') }}

This parameter allows you to specify additional query string parameters that should be appended to the checkout page once the invoice is created. For example, lang=da-DK would load the checkout page in Danish by default.


Generated code

Please fix errors shown in order for code generation to successfully execute.
@section HeadScripts { } @section Scripts { }