Entry 2934

Example Code

   

Submitted by Jason on Jan. 5, 2010 at 8:06 p.m.
Language: JavaScript. Code size: 974 bytes.

{
  "Transaction": {
    "BillingFirstName": "CHISTOPHER", 
    "BillingLastName": "CATER", 
    "BillingAddress1": "123 N MAIN ST", 
    "BillingAddress2": "", 
    "BillingCity": "OLIVE BRANCH", 
    "BillingCompanyName": "", 
    "BillingEmail": "demo@example.com", 
    "BillingPhone": "9017633235", 
    "BillingPostalCode": "38375", 
    "BillingState": "MS", 
    "BillingCountryCode": "USA", 
    "PaymentMethod": "Credit Card", 
    "CreditCardExpireMonth": 3, 
    "CreditCardExpireYear": 2014, 
    "CreditCardName": "JASON CATER", 
    "CreditCardNumber": "4111111111111111", 
    "CreditCardSecurityCode": "000", 
    "ExternalReference": "Receipt#12345", 
    "SendConfirmationEmail": true, 
    "TotalAmount": 10.00,
    "Orders": [
      {
        "Copies": 1, 
        "IsGift": false, 
        "Issues": 12, 
        "Retail": 10.00, 
        "SourceKey": "ONLINE", 
        "UseBillingContact": true
      }, 
    ],
  }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).