Questions and answers about the scene during the interview

Hello, everyone

"" 
Aug.06,2021

of course, it shows the user the failure of payment, the status of the order to be paid, logs the data of the request and response, sends a message to the administrator's mailbox, and sends a text message to the administrator's mobile phone.

add: when sending a payment request, there will be front-end callback and back-end callback on Alipay.
the front-end callback is called back when the payment succeeds or fails.
the callback at the front end is the response from Alipay as mentioned by the landlord.
generally does not use the front-end callback as proof of success or failure of the payment.
when the order is paid, Alipay will send multiple requests to the backend callback address set by the payer's website until the backend response is received successfully, then the order status will be changed and the transaction will be successful, and the data will be recorded to the database.
the payment is successful only after the callback of the backend is successful.

the above is a complete payment callback process.

if we send a payment request here and there is no response from Alipay, it means that there is something wrong with the server on Alipay, let alone the payment page or payment success.
if your interviewer is a company's technology and says Alipay is not responding, but the payment is successful, I think you can change your company.
Alipay won't play hooligans like that and say you paid, and then I won't get back to you when I'm dumb and won't admit that you paid.

Menu