tomaj / php-payments

PHPpayments
9 stars 6 forks source link

[Bugfix] TB CardPay #3

Closed freezy-sk closed 9 years ago

freezy-sk commented 9 years ago

Constant Symbol is not required anymore because it's not used in SIGN calculation. Removed urlencode of RURL attribute because it's used unencoded in SIGN calculation. Fixed typo in LANG attribute.

tomaj commented 9 years ago

Thanks for this request. I will need more time to go thought on it and test it.

freezy-sk commented 9 years ago

@tomaj Tomas, testovat to velmi nemusis. vcera som implementoval Cardpay a generovalo to zly podpis tak som to fixol podla specifikacie ktoru som dostal z TB http://www.tatrabanka.sk/cardpay/CardPay_technicka_prirucka.pdf a porovnaval som si to s ich testovacou konzolou https://moja.tatrabanka.sk/cgi-bin/e-commerce/start/example.jsp

Reťazec pre bezpečnostný podpis požiadavky obchodníka:
1. MID
2. AMT
3. CURR
4. VS
5. RURL
6. IPC
7. NAME
tomaj commented 9 years ago

Pozeral som tu prirucku tiez. Ked tomu spravne rozumiem tak zmenili ten podpis v novej specifikcii a novi klienti teraz podpisuju uz tuto novu specifikaciu. Stari ale musia fungovat postarom.

freezy-sk commented 9 years ago

@tomaj nebolo to uz nahodou s tou zmenou z DES na AES podpisovanie?

tomaj commented 9 years ago

Mozno to tak nebol, neviem. Ja pouzivam novu kniznicu a tusim tam posielam aj CS. Musim si to vyskusat na nejakom projekte. Hovoris ze tebe to normalne funguje v porudkcii s tymto? Setujes tam aj CS?