EcommerceGet started ecommerceBasic payment forms

ecommerce/basic_payment

What is it?

This is used to output payment fields in a basic payment form.

Where to use?

You should include this on a basic payment form.

How to use?

{%- include 'ecommerce/basic_payment'
  amount: '500'
  currency: 'usd'
  id: '10'
-%}
ParameterTypeNotes
amountIntegerThe amount to be charged in cents/pence (e.g. 500 = $5.00)
currencyStringThe currency to charge the user
idIntegerThe ID of the Payment Gateway to be used. If not included, then the system will output the Payment Gateway that you most recently updated in Siteglide Admin

How is this guide?

Last updated on

Powered by Holocron

Documentation