search

Home  >  Q&A  >  body text

Alipay interface, when introducing AopSdk.php, an error will be reported directly

I want to use Alipay’s website to pay, but when I run it, an error is reported directly. Why? Do I need to change anything?

Interface document address: https://doc.open.alipay.com/d...

漂亮男人漂亮男人2779 days ago904

reply all(3)I'll reply

  • 黄舟

    黄舟2017-06-10 09:49:33

    Where did the questioner introduce the AopSDK.php file?

    When I wrote the payment interface, the control layer did not introduce this file. In the core class of payment, it already require itself AopSDK, as shown below:

    This is my payment interface:

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-10 09:49:33

    Don’t want to read the error log? It seems that this error means that the file does not exist. Let's first check whether the file exists.

    reply
    0
  • 高洛峰

    高洛峰2017-06-10 09:49:33

    What I wrote is about successful payment on the website, and our documents are the same, but I didn’t write it with reference to this, I wrote it with reference to this article: https://github.com/paopao7/Al..., I hope you can pull it out soon

    I made some changes, please take a look

    reply
    0
  • Cancelreply