Skip to content

Backwards Compatibility

Ruben Bielen edited this page Nov 16, 2021 · 1 revision

‡By doing some minor code changes, the cartridge also supports versions < 6.0.0. The required code changes are marked with comments.

Example:

// Uncomment block to support SFRA < 6.0.0
// var orderToken = order.orderToken;
// var url = URLUtils.https('Order-Confirm', 'ID', orderId, 'token', orderToken).toString();


// Comment block to support SFRA < 6.0.0
var url = URLUtils.https('Order-Confirm').toString();
// End block