Sha256: 67f816b793d26cfb7e59f97a7b3df24d17bab4c491e0eb84afe7fb11548be776

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

PaymentProcessor = function();

/*
 * Authorizes payment for an order.
 * 
 * Options:
 *   order_id       : The id of the order. 
 *   address        : The billing address.
 *   zip            : The billing zip code.
 *   card_num       : The 15-16 digit card number.
 *   exp_date       : Expiration date in mmYY format. 
 *   security_code  : The security code on the back of the card.
 *   
 * Called on /checkout/billing when order information has been confirmed and ready for authorization.
 * Should set any fields values in the hidden form and submit the form.
 */   
PaymentProcessor.authorize = function(options)
{
  // TODO: Implement this  
};

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
caboose-store-0.0.10 app/assets/javascripts/caboose_store/payment_processors/authorizenet.js
caboose-store-0.0.10 app/assets/javascripts/caboose_store/payment_processors/payscape.js