我需要有关omnipay pin支付的帮助。我不知道如何将它集成到蛋糕 php 中。
我尝试了这个示例代码,但力求成功
$gateway = GatewayFactory::create('Pin');
$gateway->setSecretKey('your-secret-api-key');
$gateway->purchase([
'email' => 'customer@email.com',
'description' => 'Widgets',
'amount' => '4999',
'currency' => 'USD',
'card_token' => 'card_nytGw7koRg23EEp9NTmz9w',
'ip_address' => '1.2.3.4'
])->send();
致命错误:类“GatewayFactory”
请帮我 。提前致谢