Dids Posted July 28, 2009 Author Share Posted July 28, 2009 So, working on the callback module now, but not sure what I'm doing wrong. Here's a screenshot of what the gateway log says: http://kimag.es/share/4529331.png And current source for the callback script: http://slexy.org/view/s21KCsioCi Though, I have a feeling I'm already doing something wrong. The $reference field is the "invoice id" (it even matches, just can't seem to find it?). This is what the API says (rough translation): Required fields 1. Description: Payment version (always 0001), Name: VERSION 2. Description: Payment ID, Name: STAMP 3. Description: Payment reference, Name: REFERENCE (this is the invoiceid) 4. Description: Payment "stamp defined by the API, Name: PAYMENT 5. Description: Payment status, Name: STATUS, if the Value = 2, the payment was succesful 6. Description: Algorithm, Name: ALGORITHM, Default Value: 1 7. Description: Passcode, Name: MAC MD5(VERSION+STAMP+REFERENCE+PAYMENT+STATUS+ALGORITHM+passcode) Field 1) Default, always ”0001” Field 2) Merchants defined unique id for the payment Field 3) Merchants defined reference for the payment Field 4) APIs defined unique ID Field 5) Payment status info, 2 = paid, 5 = delayed Field 6) Hash algorithm, default = 1 (MD5) Field 7) The md5 hash I'm guessing I have to generate the hash locally now and compare it to the hash they're sending, and if it matches, then complete the payment? If I could only get $reference to match the invoiceid. Also, I noticed that it's querying the database for "transid" and "amount", though transid should be $stamp in my case, the API doesn't post the amount back to me. Link to comment Share on other sites More sharing options...
DedicatedPros Posted July 28, 2009 Share Posted July 28, 2009 I'm going to make a suggestion, hire a coder I never got the API/callback to work for my payment gateways, and you can find very cheap coders on webhostingtalk, it'll save you a ton of trouble.. Link to comment Share on other sites More sharing options...
okramalem Posted October 18, 2017 Share Posted October 18, 2017 Here is WHMCS Checkout Finland Oy And WHMCS Paytrail Finalnd Modules Works with WHMCS Version 7.3.0 Buy Modules Here: https://www.technetwebhost.com/cart.php?gid=3 Link to comment Share on other sites More sharing options...
AXN Data Posted October 24, 2017 Share Posted October 24, 2017 That technetwebhost put the modules on sale even though he only had access to use not for resell.... He "buy" those modules and wont even pay, because there was one bug on code (whole software works fine and u can pay tru both payment getaways) This dude has no experience on software development he collect free and paid code and sell them as his own U can buy here Checkout Finland and paytrail modules (where money goes do developer): https://laskutussofta.fi Link to comment Share on other sites More sharing options...
AXN Data Posted October 24, 2017 Share Posted October 24, 2017 We have WHMCS payment getaways for paytrail and checkout finland: https://laskutussofta.fi 50€ ea Link to comment Share on other sites More sharing options...
Recommended Posts