Knowledge BasePayment Methods and PSP Gateway

Payment Methods and PSP Gateway

Sana Commerce 8.3
Your provider

Pipeline Steps

The following steps are available for re-use in the Sana Commerce framework. They can be found directly in the payment library:
 
CancelOrderStep
Sets the status of the order to 'Cancelled'. Requires the order object to be set in the payment context.
 
SaveOrderStep
Saves the order.  
 
DeductStockStep
Lowers stock level based on the products ordered (orderlines in order). Requires the order object to be set in the payment context.

PayOrderStep
Sets the status of the order to 'Paid'. Requires the order object to be set in the payment context.
 
TrackPromotionCodeStep
Updates the promotion coupon if it has been applied to the order by incrementing its usage counter. Requires the order object to be set in the payment context.
 
UnTrackPromotionCodeStep
Updates the promotion coupon if it has been applied to the order by decrementing its usage counter.  Requires the order object to be set in the payment context.
 
DeleteBasketStep
Deletes the basket linked to the order. Requires the order object to be set in the payment context.
 
RedirectToSuccessPageStep
Redirects the user to the order success page (ordersubmit.aspx). To change the URL the user will be redirected change the 'return_url_success' property in the payment module configuration.
 
SendOrderMailStep
Sends an order confirmation mail to the customer the order belongs to and the store account that places the order if they are not the same. Requires the order object to be set in the payment context.
 
PendingOrderStep
Sets the status of the order to 'In Progress'. Requires the order object to be set in the payment context.
 
OrderPathSelectorStep
Executes different pipelines based on the current status of the order. Requires the order object to be set in the payment context. Also the 'Pipelines' property in the context should contain all 'child' pipelines that need to be executed.
 
PSPRedirectStep
Redirects the user to the PSP page (external payment module only). The following configuration values have effect on this step: 'ResponseUseXml', 'ResponseUsePost' and 'PostUrl'.
 
IpRangeValidationStep
Checks if the IP address of the one that made the request to this pipeline matches the list of allowed IP's in configuration (used as fraud protection for some external payment modules). The IP (ranges) to check can be set using the 'IpCheck' configuration value, if left empty no check will be done.
Knowledge BasePayment Methods and PSP Gateway