Inconsistencies

Joined
Oct 5, 2021
Messages
5
Hello,
I'd like to address a major issue with this add-on.
After using this on my website, I received some complaints from 2 of my uses that even if the payment went successfully, the system does not trigger the user upgrades.

When I first tested the plugin, in payment provider log there were 3 entries as it follows for user: Mish
1. Information OK, no action - I assume this is the Pending - unpaid transaction mode
2. Information OK, no action - I assume this is the Confirmation - paid transaction mode
3. Payment: Payment received, upgraded/extended - I assume this is the paid transaction mode and trigger the user upgrade after payment completed.

This payment went through successfully and the system recorded the payment log and triggered the user upgrade.

On Nov 24, the user randeem paid for his membership upgrade, cryptonator stored the payment (TX: https://blockchair.com/litecoin/tra...e4fa0fd1779e3553c569bb5239c4?from=cryptonator) but didn't activated the user, Instead, in payment provider log there are 3 entries:
1. Information OK, no action - unpaid
2. Information OK, no action - confirming
3. Information OK, no action - mispaid

The same happened with PaulFL user

On Nov 25, the user PaulFL paid for his membership upgrade, cryptonator stored the payment:( TX: https://blockchair.com/bitcoin-cash...25b04c23f006d494798add0b7cfc?from=cryptonator ) but didn't activated the user, instead, in payment provider log there are 3 entries:
1. Information OK, no action - unpaid
2. Information OK, no action - confirming
3. Information OK, no action - mispaid

Since Cryptonator stored the payment of these 2, can you please tell me what the MISPAID issue is and what we can do to find a fix for it?

Also, I have some users who upgraded their membership via Cryptonator but the payment provider log does not keep a consistent structure like:
Information Ok, no action - unpaid
Information OK, no action - Confirming
Payment: Payment received, upgraded/extended.- Paid - User upgrade

Some of these users has only 1 Information OK, no action + Payment received or 3 x information OK, no action + Payment received. this is not really mandatory as I can see the registration is successful.

Please advise about those 2 mispaid errors and what we can do to avoid such issues in the future.
Thank you.
 

Matew

Administrator
Joined
Aug 28, 2016
Messages
324
Greetings.

Thanks for the bug report. I need some time to check everything. Can you attach entire log for each specified payment? I need as much information as possible
 
Joined
Oct 5, 2021
Messages
5
Greetings.

Thanks for the bug report. I need some time to check everything. Can you attach entire log for each specified payment? I need as much information as possible
On Nov 24, the user randeem paid for his membership upgrade, cryptonator stored the payment (TX: https://blockchair.com/litecoin/tra...e4fa0fd1779e3553c569bb5239c4?from=cryptonator) but didn't activated the user, Instead, in payment provider log there are 3 entries:
1. Information OK, no action - unpaid
2. Information OK, no action - confirming
3. Information OK, no action - mispaid
1) Log details:
Screen Shot 2021-12-02 at 2.08.01 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "329d9e73448100a198ee74781031ac2d"
  ["invoice_created"] => string(10) "1637723394"
  ["invoice_expires"] => string(10) "1637725194"
  ["invoice_amount"] => string(5) "494.4"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(6) "unpaid"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/329d9e73448100a198ee74781031ac2d"
  ["order_id"] => string(32) "BRB4VZkaFbVqT722Lte5CnjnQUQEiaSh"
  ["checkout_address"] => string(34) "MGdeXKx98UWfGWHZdNAV9hd5UJT2sjbCVw"
  ["checkout_amount"] => string(10) "2.39203112"
  ["checkout_currency"] => string(8) "litecoin"
  ["date_time"] => string(10) "1637724083"
  ["secret_hash"] => string(40) "e2759393731d68478e3315272a511cb9d5f1a63c"
  ["_xfProvider"] => string(11) "Cryptonator"
}
2)
Screen Shot 2021-12-02 at 2.08.46 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "329d9e73448100a198ee74781031ac2d"
  ["invoice_created"] => string(10) "1637724083"
  ["invoice_expires"] => string(10) "1637725883"
  ["invoice_amount"] => string(12) "494.40000000"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(10) "confirming"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/329d9e73448100a198ee74781031ac2d"
  ["order_id"] => string(32) "BRB4VZkaFbVqT722Lte5CnjnQUQEiaSh"
  ["checkout_address"] => string(34) "MGdeXKx98UWfGWHZdNAV9hd5UJT2sjbCVw"
  ["checkout_amount"] => string(10) "2.39203112"
  ["checkout_currency"] => string(8) "litecoin"
  ["date_time"] => string(10) "1637724164"
  ["secret_hash"] => string(40) "f817637928a10973c711628538927410e2bb10e8"
  ["_xfProvider"] => string(11) "Cryptonator"
}

3)
Screen Shot 2021-12-02 at 2.09.27 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "329d9e73448100a198ee74781031ac2d"
  ["invoice_created"] => string(10) "1637724083"
  ["invoice_expires"] => string(10) "1637725883"
  ["invoice_amount"] => string(12) "494.40000000"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(7) "mispaid"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/329d9e73448100a198ee74781031ac2d"
  ["order_id"] => string(32) "BRB4VZkaFbVqT722Lte5CnjnQUQEiaSh"
  ["checkout_address"] => string(34) "MGdeXKx98UWfGWHZdNAV9hd5UJT2sjbCVw"
  ["checkout_amount"] => string(4) "2.39"
  ["checkout_currency"] => string(8) "litecoin"
  ["date_time"] => string(10) "1637725154"
  ["secret_hash"] => string(40) "022b4c65976e2de671e5103fe1641c1098936bc0"
  ["_xfProvider"] => string(11) "Cryptonator"
}
 
Joined
Oct 5, 2021
Messages
5
On Nov 25, the user PaulFL paid for his membership upgrade, cryptonator stored the payment:( TX: https://blockchair.com/bitcoin-cash...25b04c23f006d494798add0b7cfc?from=cryptonator ) but didn't activated the user, instead, in payment provider log there are 3 entries:
1. Information OK, no action - unpaid
2. Information OK, no action - confirming
3. Information OK, no action - mispaid
1)
Screen Shot 2021-12-02 at 2.11.46 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["invoice_created"] => string(10) "1637852479"
  ["invoice_expires"] => string(10) "1637854279"
  ["invoice_amount"] => string(6) "349.92"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(6) "unpaid"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["order_id"] => string(32) "nRIqD2KTiRzwHryV2EXCXzi2RbRKKhpi"
  ["checkout_address"] => string(42) "qpadw8sd4w964llq222r4j8vnfalfzqqzqs0qr7d5k"
  ["checkout_amount"] => string(10) "0.56772667"
  ["checkout_currency"] => string(11) "bitcoincash"
  ["date_time"] => string(10) "1637852628"
  ["secret_hash"] => string(40) "015e16112b30d8abd8db8dcec3964d6c62d06023"
  ["_xfProvider"] => string(11) "Cryptonator"
}

2)
Screen Shot 2021-12-02 at 2.11.54 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["invoice_created"] => string(10) "1637852628"
  ["invoice_expires"] => string(10) "1637854428"
  ["invoice_amount"] => string(12) "349.92000000"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(10) "confirming"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["order_id"] => string(32) "nRIqD2KTiRzwHryV2EXCXzi2RbRKKhpi"
  ["checkout_address"] => string(42) "qpadw8sd4w964llq222r4j8vnfalfzqqzqs0qr7d5k"
  ["checkout_amount"] => string(10) "0.56772667"
  ["checkout_currency"] => string(11) "bitcoincash"
  ["date_time"] => string(10) "1637852821"
  ["secret_hash"] => string(40) "d4c7a2c797de7d8fbf53b58d5d746cdbd49dc0b3"
  ["_xfProvider"] => string(11) "Cryptonator"
}

3)
Screen Shot 2021-12-02 at 2.11.46 PM.png
Code:
array(15) {
  ["merchant_id"] => string(32) "fa88005f5163f86f03e227e680cd8cd6"
  ["invoice_id"] => string(32) "4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["invoice_created"] => string(10) "1637852628"
  ["invoice_expires"] => string(10) "1637854428"
  ["invoice_amount"] => string(12) "349.92000000"
  ["invoice_currency"] => string(3) "usd"
  ["invoice_status"] => string(7) "mispaid"
  ["invoice_url"] => string(77) "https://www.cryptonator.com/merchant/invoice/4b8a2c8ee9b7343fcb2fa1e3a6cb2f07"
  ["order_id"] => string(32) "nRIqD2KTiRzwHryV2EXCXzi2RbRKKhpi"
  ["checkout_address"] => string(42) "qpadw8sd4w964llq222r4j8vnfalfzqqzqs0qr7d5k"
  ["checkout_amount"] => string(9) "0.5565992"
  ["checkout_currency"] => string(11) "bitcoincash"
  ["date_time"] => string(10) "1637852942"
  ["secret_hash"] => string(40) "79ef61a937c13d6491740856e6075f1359b9ce33"
  ["_xfProvider"] => string(11) "Cryptonator"
}
 
Joined
Oct 5, 2021
Messages
5
Also, I have some users who upgraded their membership via Cryptonator but the payment provider log does not keep a consistent structure like:
Information Ok, no action - unpaid
Information OK, no action - Confirming
Payment: Payment received, upgraded/extended.- Paid - User upgrade
Here you can see what I mean about this:
It says OK but that's not true, it should say the status of the payment so it is easier to follow
Screen Shot 2021-12-02 at 2.14.34 PM.png
 

Matew

Administrator
Joined
Aug 28, 2016
Messages
324
Here you can see what I mean about this:
It says OK but that's not true, it should say the status of the payment so it is easier to follow
As I can see in full log, status is "mispaid"
["invoice_status"] => string(7) "mispaid"
You can open a page using url from log: https://www.cryptonator.com/merchant/invoice/329d9e73448100a198ee74781031ac2d
There is an error on invoice page. Payment Profile trigger user upgrade only when status is paid: ["invoice_status"] => string(4) "paid"

1638480802010.png
 

Attachments

  • 1638480685447.png
    1638480685447.png
    5.6 KB · Views: 0

Matew

Administrator
Joined
Aug 28, 2016
Messages
324
It says OK but that's not true, it should say the status of the payment so it is easier to follow
It's OK and it's true. Xenforo received a notification and should not trigger an user upgrade, as the payment has not been paid. This is OK because this is just an informational message and you don't need to do anything with it.
 
Joined
Oct 5, 2021
Messages
5
Good catch! Let me check what happened
This is OK because this is just an informational message and you don't need to do anything with it.
Following XenForo development way, there is certain level of description even when it is a general message, like for example these logs from PayPal payments using PayPal XenForo module:
Screen Shot 2021-12-03 at 1.08.45 AM.png
It would be really great if you can add the same level of description to those messages because they will understand to find out the status of the payment. Are you willing to quote me for this feature? It will help me to troubleshoot the payments
 
Top