Mini Program pay, has paid successfully, but shows the callback function of fail?

when debugging Mini Program"s payment interface, it sometimes appears that the payment has been successful, but the correct callback function has not been triggered. This is the interface that has already scanned the payment

.

clipboard.png

fail complete

clipboard.png

when looking at the data stored in the background, it is found that the storage has been successfully obtained

this situation will improve after refreshing the page or restarting the server. However, after a period of time, shows that the payment failed , but the money has been deducted, and the data has been successfully stored at the backend

.

ask the same question! Did you find the reason again?


ask why most of them call back success, normally and sometimes pay but call back failure, while we do some actions in failure, resulting in inconsistent status errors


from the point of view of the error message, it seems that the network timeout ~ check the ip connectivity, certificate and other information in the error message


found the problem, it is the network is not good. The line was dropped at that time

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be79d1-31885.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be79d1-31885.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?