Previous Docs Version
The documentation you are viewing is for a previous version of Tea Commerce. Click here to jump to the current stable version.
Previous Docs Version
The documentation you are viewing is for a previous version of Tea Commerce. Click here to jump to the current stable version.
Generates and returns the full html for the form to post when going to payment. Will use the current payment method's payment provider.
NB If you have configured culture specific settings for your payment provider, you must make sure to set the order.LanguageId
property to the appropriate ISO code before calling GeneratePaymentForm
.
The generated form will be submitted automatically.
Name | Type | Default | Description |
---|---|---|---|
storeId | long | _storeId | Id of the store. |
TC.generatePaymentForm({storeId:1});