Replace "number" with "amount"
Replace "barCode" with "barcode_id" in products
Replace "purchase" with "products" in purchaseDictionary
Modify public key for webpay