Shopping Cart

Top  Previous  Next

All eCommerce implementations need to implement a shopping cart. The following is a discussion that shows how the AL-Desk Web Portal API can be used to support your shopping cart implementation.

 

A purchase in AL-Desk really means writing a voucher. Thus any shopping cart would translate to the als_insert_voucher.cgi call.

 

Users Search for Products

Users provide a date for the activity chosen

If that activity uses Blocks, then you can see if there are available seats for a given activity, date and time.

Get Client Information which may include arrival and departure dates.

Add the client to the system

Write a Voucher for a given date for that client.

Take a credit card and securely transmit the credit card information for authorization

Send an Email to the User with voucher details that you compose or send an HTML email via the als_send_email_voucher.cgi

 

The processing of multiple vouchers and processing them with one credit card transaction is also supported via the als_insert_voucher_payment.cgi method which additionally supports credit card authorization when used via a secure SSL Channel.

 

In order to process multiple vouchers with one credit card

 

Create the vouchers using als_insert_voucher.cgi using the custompayment=true boolean. This will create vouchers but NOT issue them
Use als_insert_voucher_payment.cgi with the added credit card processing call via SSL