[英]PHP Sagepay iframe integration
I want to make my website payments via sagepay. 我想通过Sagepay支付我的网站付款。 The problem is I am not able to locate all the things in the PHPKit they provide.
问题是我无法在它们提供的PHPKit中找到所有东西。 The version of the kit is 3.0 and I want to configure iframe integration but when I open the test method there is this piece of code
该工具包的版本是3.0,我想配置iframe集成,但是当我打开测试方法时,有这段代码
$view = new HelperView('server/low_profile');
$view->setData(array(
'env' => $this->sagepayConfig->getEnv(),
'vendorName' => $this->sagepayConfig->getVendorName(),
'integrationType' => $this->integrationType,
'request' => HelperCommon::getStore('txData'),
));
$view->render();
I want to locate those keys 'env', 'vendorName', 'integrationType', 'requests' and see how to put them to use in my system. 我想找到这些键“ env”,“ vendorName”,“ integrationType”,“ requests”,并查看如何在我的系统中使用它们。 I see this syntax in a lo of places
我在很多地方都看到了这种语法
public function setSagepayConfig(SagepaySettings $sagepayConfig)
{
$this->sagepayConfig = $sagepayConfig;
}
But I don't know what SagepaySettings means and how to trace it. 但是我不知道SagepaySettings是什么意思以及如何追踪它。 Can you tell me where can I find SagepaySettings, or what does this mean.
您能告诉我在哪里可以找到SagepaySettings或这是什么意思。 Is it a class or method or attribute, because I cannot find it in all the files as any of those.
它是类,方法还是属性,因为我无法像所有文件一样在所有文件中找到它。
这是\\lib\\classes\\settings.php
的一个类
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.