【发布时间】:2014-12-20 00:27:43
【问题描述】:
我正在尝试使用 PayPal's REST API 将 Paypal 包集成到我的 Laravel 应用程序中,但我在他们的某个步骤上遇到了困难,而且似乎没有关于如何执行此操作的文档。
我已经用composer下载并安装了包,但这一步:
* Copy the sample configuration file sdk_config.ini to a location of your choice and let the SDK know your config path using the following define directive.
define('PP_CONFIG_PATH', /path/to/your/sdk_config.ini);
令人困惑。我找到了示例配置文件,但我不确定将它放在我的 laravel 项目中的最佳位置,我也不确定将定义 PHP 命令放在哪里。有什么想法吗?
【问题讨论】: