A friend who used the ePRO payment interface to see

Source: Internet
Author: User
A friend who used the ePRO payment interface to see
What happens to r9_btype=2 server Point-to-point communication when ePRO the callback in the payment interface? I've never been in touch with a paid thing before, God help me.
------to solve the idea----------------------
R9_btype=1, stating that you have successfully traded, you should change the order status in your database to paid, but for unknown reasons (such as network problems) you did not update the status of the order in your database (or unpaid)
At this time r9_btype=2 is useful, it is to inform you that the transaction is successful, you can change the status of the order again
Of course you can't let it keep the point-to-point communication, so you should do it when r9_btype=2

if ($r 9_btype==1) {
Success Page
}elseif ($r 9_btype==2) {
Change Order status ...
echo ' success ';//Must start with "success", then no point-to-point communication
}
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.