|
7:35:52 AM
Thursday
Sep 09
| Su | M | Tu | W | Th | F | Sa |
|---|
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 1 | 2 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Play My Typing Game View Some of My Artwork | simple form and action
The above is a simple form with most of the requirements that will need to be passed.
<? // process.php include("authorizenet.class.php");
$total = 1; $expiration = date("my", mktime(0,0,0,$_POST['cc_exp_month'],1,$_POST['cc_exp_year']));
$cctrans = new authorizenet_class;
$cctrans->add_field('x_login', 'xxxxxxxxx'); $cctrans->add_field('x_tran_key', 'xxxxxxxxxxxxxxxx');
$cctrans->add_field('x_version', '3.1'); $cctrans->add_field('x_type', 'AUTH_ONLY'); // AUTH_CAPTURE $cctrans->add_field('x_test_request', 'FALSE'); $cctrans->add_field('x_relay_response', 'FALSE');
$cctrans->add_field('x_delim_data', 'TRUE'); $cctrans->add_field('x_delim_char', '|'); $cctrans->add_field('x_encap_char', '');
$cctrans->add_field('x_address', $_POST['cc_address_1']); $cctrans->add_field('x_city', $_POST['cc_city']); $cctrans->add_field('x_state', $_POST['cc_billing_state']); $cctrans->add_field('x_zip', $_POST['cc_zip']); $cctrans->add_field('x_country', 'US');
// Setup fields for payment information $cctrans->add_field('x_method', 'CC'); $cctrans->add_field('x_card_num', $_POST['cc_num']); $cctrans->add_field('x_amount', number_format($total,2)); $cctrans->add_field('x_exp_date', $expiration); // MMYY $cctrans->add_field('x_card_code', $_POST['cc_cvv']);
$cctrans_result = $cctrans->process();
if($cctrans_result != 1) { echo "Card Declined or other error<br />"; echo $cctrans->dump_response(); exit(); } else { /* proceed */ } ?>
Table of ContentsMy Background in Computing HTML & XHTML CSS PHP MySQL JavaScript Complete Applications bash Apache / .htaccess Regex Adobe Flex Coldfusion
Give a listen to my music...
How my services and skills can help you:
- Global (via Email/Skype/AIM(ichat)/Yahoo)
- Web Development Consulting
- Custom Web App Development (PHP/MySQL/jQuery/CSS) Cross-Browser & OS
- Cellphone App Development (Android/MobileWeb)
- Music Lessons & Education for Beginner Guitar, Piano, Bass, which transfers over to many other instruments I am comfortable playing but not yet at teaching.
- Music - Soundtrack Composition & Voice Work
- Local
- Most all the above, but also:
- Music Performance (Harp, Voice, Guitar, Piano, Bass, Latin Percussion)
- Recording Live Music Audio
- Video Streaming live music and other live events anywhere that can provide wifi
- Training Video Streaming to your venue's trusted soundperson
|
Skills:
- Global (via Email/Skype/AIM(ichat)/Yahoo)
- Web Development Consulting
- Custom Web App Development (PHP/MySQL/jQuery/CSS) Cross-Browser & OS
- Cellphone App Development (Android/MobileWeb)
- Music Lessons & Education for Beginner Guitar, Piano, Bass, which transfers over to many other instruments I am comfortable playing but not yet at teaching.
- Music - Soundtrack Composition & Voice Work
- Local, Most all the above, but also:
- Music Performance (Harp, Voice, Guitar, Piano, Bass, Latin Percussion)
- Being your venue's soundman
- Video Streaming live music and other live events anywhere that can provide wifi
- Training Video Streaming to your venue's trusted soundperson
|