Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,793 members, 7,802,521 topics. Date: Friday, 19 April 2024 at 03:48 PM

Remita Integration - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Remita Integration (574 Views)

Help: Integrating Remita Payment Gateway For Single Payment/splitting Payment / Paystack And Remita Payment Integration / URL For Validation During Remita Integration; How To Set It Up (2) (3) (4)

(1) (Reply)

Remita Integration by islamics(m): 10:11pm On Jun 27, 2022
Hello,
Please I am trying to integrate remita into my app but I can't move forward after much searching and reading the docs.
Any request I make requesting for RRR send a response of
"INVALID _HASH_VALUE" The hash value of the parameters do not match.

In the docs, it was written in JavaScript as:
var hash = CryptoJS.SHA512("parameters are passed here"wink;

My Java implementation is this:

MessageDigest md= MessageDigest.getInstance("SHA-512"wink;
String input = "parameters";
byte[ ] messageByte = md.digest(input.getBytes());
String hashedInput = Base64.encodeToString(messageByte, Base64.NO_WRAP);


Please any tip/guide is welcome. I don tey for this implementation abeg.

qtguru
tensazangetsu20
And others in the house
Re: Remita Integration by WrksOnMyMachine: 9:55am On Jun 29, 2022
Re: Remita Integration by islamics(m): 9:50pm On Jul 08, 2022

1 Like

(1) (Reply)

Who Wants To Learn Command Line For Free? / Svb / Joomla Analytics

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.