This module allows integration of Ogone e-Commerce in a Smartsite iXperion site.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:payment> <se:parameters> <se:parameter name="checkoutname"> </se:parameter> </se:parameters> </se:payment> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
Amount | Float | - | Sets the amount. |
AutoIncrementSerial | Boolean | - | Sets a value indicating whether to increment the serial automatically. If one or more failed attempts were already registered, the module will increment the serial automatically. |
Brand | String | - | Sets the brand of the payment method. |
CatalogUrl | Locator | - | Sets the URL to the catalog page. The Payment page will display this link as a button. |
CheckoutName | String |
IsRequired
|
Sets the name of the checkout to use for payment. Checkouts can be configured in Smartsite.Ogone.config. |
Currency | String | - | Sets the currency using ISO 4217 codes. |
CustomerAddress | String | - | Sets the customer address. |
CustomerCountry | String | - | Sets the customer country. |
CustomerEmail | String | - | Sets the customer email address. |
CustomerName | String | - | Sets the name of the customer. |
CustomerPhone | String | - | Sets the customer phone number. |
CustomerTown | String | - | Sets the customer town. |
CustomerZipcode | String | - | Sets the customer zipcode. |
ExtraData | String | - | Sets the extra data. Will be sent with the request to Ogone. |
ForceEncoding | Boolean | - | The Payment module sets the response encoding to ISO-8859-1 for the page containing the payment form to make sure Internet Explorer posts the correct data to Ogone. Disable this behaviour by setting ForceEncoding to false. |
HomeUrl | Locator | - | Sets the home URL of the current site. The Payment page will display this link as a button. Defaults to the Website address setting in the Ogone account/Administrative details settings. |
Mode | Enum | - |
Sets the mode of the payment module.
Enum values:
|
OrderId | String | - | Sets the order id. |
PaymentMethod | String | - | Sets the payment method. |
Serial | Integer | - | Sets the serial for the payment attempt. Will be combined with the OrderId to have a unique identifier for multiple attempts. |
SubmitCaption | String | - | Sets the caption for the submit button. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.Amount | Gets the amount. | |
This.Brand | Gets the brand of the payment method. | |
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.Currency | Gets the currency using ISO 4217 codes. | |
This.CustomerAddress | Gets the customer address. | |
This.CustomerCountry | Gets the customer country. | |
This.CustomerEmail | Gets the customer email address. | |
This.CustomerName | Gets the name of the customer. | |
This.CustomerPhone | Gets the customer phone number. | |
This.CustomerTown | Gets the customer town. | |
This.CustomerZipcode | Gets the customer zipcode. | |
This.ExtraData | Gets the extra data. Will be sent with the request to Ogone. | |
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.OrderId | Gets the order id. | |
This.PaymentMethod | Gets the payment method. | |
This.Redirect | Gets the redirect for the current payment. | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.Serial | Gets the serial for the payment attempt. Will be combined with the OrderId to have a unique identifier for multiple attempts. | |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.Status | Gets the status of the current payment. | |
This.Summary | Gets the summary of the current payment. |