|
We have just started using the Payeezy system Jack and found that the PHP
sample code they supplied works perfectly to create the hash.
This is our modified version of that code:
// String together the values that contribute to x_fp_hash
$hmac_data = $x_login . "^" . $x_fp_sequence . "^" . $x_fp_timestamp
. "^" . $x_amount . "^" . $x_currency_code;
// Form the MD5 hash using the transaction key
$x_fp_hash = hash_hmac('MD5', $hmac_data, $transaction_key);
Since that part of our system is PHP based I have not had a need to
perform the same task from RPG so I can’t help you there.
On Dec 30, 2015, at 10:09 AM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:need
I knew my post was long but I thought I put it together properly. The
website name is payeezy.com. Not sure if it's worth posting since you
a user id/password to use their testing tools.the
In my first post i stated that I was using the Qc3CalculateHash and the
sample code was using the PHP HMAC-MD5, I didn't know that Hmac and MD5that
were different.
Thanks for clearing that up. I'll look at the other API
On Tue, Dec 29, 2015 at 4:47 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:
On Tue, Dec 29, 2015 at 4:36 PM, Kevin Bucknum
<Kevin@xxxxxxxxxxxxxxxxxxx> wrote:
HMAC is not just an MD5 hash. Go to
http://www.freeformatter.com/hmac-generator.html to see a web site
listwill match up with the example you are given.
Yes, finally. If he'd just come out and said HMAC from the beginning,
it would have saved a lot of trouble.
And yes, I've confirmed with Python also that the example he's looking
for is an HMAC using the MD5 algorithm, with the "salt" as the key.
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.