note 15784 added to function.cybercash-encr
| From: | scott at mha dot ca | Date: | Tue, 02 Oct 2001 23:51:35 +0000 |
| Subject: | note 15784 added to function.cybercash-encr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18490@lists.php.net to get a copy of this message | ||
if you do not know how the MCK works, this will not help you .. but for those of you that know how
the MCK works but are unclear as to how to use this function, here are some tips: $wmk is the
merchant_key, $sk is the session_key and $inbuff is a urlencoded string of value pairs, i.e.
"order-id=12345&amount=USD+12.34&card_number=....." .. the output array contains
values for "macbuff" and "outbuff" which, in MCK terms, are the "mac"
and "message" values which you must send with the session_key via urlencoded http post ..
but both the macbuff and outbuff will have to be processed by cybercash_base64_encode before you can
send them .. the rest is pretty much the same as the MCK
--
http://www.php.net/manual/en/function.cybercash-encr.php
http://master.php.net/manage/user-notes.php?action=edit+15784
http://master.php.net/manage/user-notes.php?action=delete+15784
http://master.php.net/manage/user-notes.php?action=reject+15784