O
O
olol7772015-02-13 04:10:36
Magento
olol777, 2015-02-13 04:10:36

Magento and payeer module = Invalid Signature?

Hello! I installed the payeer module on Magento , entered the data and when paying, "Invalid Signature" pops up. The essence of this error is that Magento does not prescribe decimal places, and an incorrect signature is obtained.
Example.
This produces magento:

http://payeer.com/merchant/?
m_shop=********&
m_orderid=100000024&
m_amount=1160&
m_curr=RUB&
m_desc=0J7Qv9C70LDRgtCwINC00L7RgdGC0LDQstC60Lgg0L3QsCBkYWRkeW1hcmtldC5ydQ%3D%3D&
m_sign=7CEC8AA7B90768BFD2A4B54440ED5940EA1D4A7230878803EBF8A4F340120412

And this is how payeer gives out, that is, as it should be:
http://payeer.com/merchant/?
m_shop=********&
m_orderid=100000024&
m_amount=1160.00&
m_curr=RUB&
m_desc=0J7Qv9C70LDRgtCwINC00L7RgdGC0LDQstC60Lgg0L3QsCBkYWRkeW1hcmtldC5ydQ%3D%3D&
m_sign=2000718785B861B60058FC6C2EECB69FD147730BBA33D6E60DDFBC8BBD804B18&
lang=ru

Pay attention to 1160 vs 1160.00
I've been scratching my head for the 3rd day. Tell me your thoughts, please ...
PS: The module can be downloaded from here - https://payeer.com/upload/iblock/a14/magento.zip
Registration there does not take much time, you do not need to enter almost any passport data, you can specify " left" for testing, they don't pay much attention to it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
olol777, 2015-02-19
@olol777

After several days of communication with the TP, they corrected the module, now everything works.
Thanks for answers.

Y
Yuri Gerasimenko, 2015-02-14
@Hide

Most likely, it is not Magenta that prescribes the wrong number (incomplete), but the module. You need to look for the reason there. Do you have 2 digits in the decimal part on the product page?
I have two:
cc0d903e01454f21bf00e4a179a1ce3d.png

D
Den4ik_k, 2015-02-19
@Den4ik_k

Here you need to check with a debugger.
Model DL_Payeer_Model_Method_Dlpayeer method preparePaymentData See
that cost formatting is used. You need to check why it doesn't work in your case

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question