Created
          October 12, 2012 04:18 
        
      - 
      
- 
        Save iturgeon/3877271 to your computer and use it in GitHub Desktop. 
    Curl request to send a test credit card test to authorize.net
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | curl -F " | |
| x_version=3.1 | |
| &x_delim_data=True | |
| &x_delim_char=| | |
| &x_relay_response=False | |
| &x_login=[login] | |
| &x_tran_key=[key] | |
| &x_test_request=TRUE | |
| &x_type=AUTH_CAPTURE | |
| &x_first_name=Ian | |
| &x_last_name=Test | |
| &x_address=Street | |
| &x_city=City | |
| &x_state=FL | |
| &x_zip=32725 | |
| &x_country=US | |
| &x_card_num=4222222222222 | |
| &x_card_code=111 | |
| &x_amount=1 | |
| &x_exp_date=1212 | |
| &[email protected] | |
| &x_email_customer=0 | |
| &x_cust_id= | |
| &x_customer_ip= | |
| &x_phone= | |
| &x_fax= | |
| &x_invoice_num=9999999 | |
| &x_description= | |
| " https://secure.authorize.net/gateway/transact.dll | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment