I am after some advice on creating an enhancement to Actinic as for some bizarre reason Actinic does not currently support the purchase and redemption of vouchers(coupons are a different concept).
Allowing users to purchase vouchers is not really a problem as it is easy enough to create a generic product that can act as a voucher and therefore be purchased through the normal methods. Each time an order for a voucher is received a voucher code can be generated and inserted into a database as part of the fulfilment process.
My client is currently using the secure trading payment method. What I want to do is intercept the checkout at a chosen point and take them to a custom page. On this custom page I would ask the user for their voucher code which would be queried against a database for its validity. If a valid voucher code has been provided the value of the voucher will be dedeucted from the shopping cart total and the user will be returned back to the standard checkout process.
My problem being how do I inform the catalog of this adjustment to the order ??
Any help, advice or recommendations would be greatly appreciated.
Simon
Allowing users to purchase vouchers is not really a problem as it is easy enough to create a generic product that can act as a voucher and therefore be purchased through the normal methods. Each time an order for a voucher is received a voucher code can be generated and inserted into a database as part of the fulfilment process.
My client is currently using the secure trading payment method. What I want to do is intercept the checkout at a chosen point and take them to a custom page. On this custom page I would ask the user for their voucher code which would be queried against a database for its validity. If a valid voucher code has been provided the value of the voucher will be dedeucted from the shopping cart total and the user will be returned back to the standard checkout process.
My problem being how do I inform the catalog of this adjustment to the order ??
Any help, advice or recommendations would be greatly appreciated.
Simon
Comment