douzang7928 2017-04-24 15:24 采纳率: 100%
浏览 39

Authorize.net - 找不到GetHostedPaymentPageRequest类

I'm attempting to integrate a hosted payment page using Authorize.Net

I have successfully installed the SDK using Composer (including dependencies) and got the Hello World example working.

However, when trying to create a hosted payment page using the sample code provided, I get the following error:

PHP Fatal error:  Class 'net\authorize\api\contract\v1\GetHostedPaymentPageRequest' not found

I'm guessing this is some namespace issue, but I can't trace it. Changing the class name key as per this issue on GitHib seems to have no effect.

  • 写回答

0条回答 默认 最新

    报告相同问题?