ci-merchant

receive more response data in ci-merchant library codeigniter

喜欢而已 提交于 2020-01-05 12:02:57
问题 How can I receive more response data in the ci-merchant codeigniter library ? I am using the Paypal Express checkout payment method. And I am passing the following parameters: $params = array( 'amount' => 100.00, 'currency' => 'USD', 'return_url' => my return url, 'cancel_url' => my cancel url ); Right now am getting just the following response Merchant_paypal_api_response Object ( [_status:protected] => complete [_message:protected] => [_reference:protected] => 1K088384XU0947545 [_data

receive more response data in ci-merchant library codeigniter

流过昼夜 提交于 2020-01-05 12:02:27
问题 How can I receive more response data in the ci-merchant codeigniter library ? I am using the Paypal Express checkout payment method. And I am passing the following parameters: $params = array( 'amount' => 100.00, 'currency' => 'USD', 'return_url' => my return url, 'cancel_url' => my cancel url ); Right now am getting just the following response Merchant_paypal_api_response Object ( [_status:protected] => complete [_message:protected] => [_reference:protected] => 1K088384XU0947545 [_data

omnipay paypal express not returning address

孤者浪人 提交于 2019-12-06 02:57:37
问题 I am using the omnipay setup here: https://github.com/adrianmacneil/omnipay to process a paypal express checkout. The process works fine in that the user is redirected to paypal -> they login and choose to pay -> they get returned to my site at which point I capture the payment. The problem I've got is that I need to capture the address they have entered into paypal as their billing / shipping address. To send the user across to paypal I have the following: $gateway = GatewayFactory::create(

omnipay paypal express not returning address

China☆狼群 提交于 2019-12-04 07:27:30
I am using the omnipay setup here: https://github.com/adrianmacneil/omnipay to process a paypal express checkout. The process works fine in that the user is redirected to paypal -> they login and choose to pay -> they get returned to my site at which point I capture the payment. The problem I've got is that I need to capture the address they have entered into paypal as their billing / shipping address. To send the user across to paypal I have the following: $gateway = GatewayFactory::create('PayPal_Express'); $gateway->setUsername('XX-USERNAME_XX'); $gateway->setPassword('XX_PASSWORDXX');

CodeIgniter + omnipay installation

六月ゝ 毕业季﹏ 提交于 2019-12-03 20:26:42
问题 I have used ci-merchant before but from everything see that the "V2" of it is now omnipay. I use codeigniter and i'm struggling to get even the example to work. I have installed omnipay no problems and in my controller have the following: use Omnipay\Common\GatewayFactory; class Homepage extends BC_basecontroller { public function index() { $gateway = GatewayFactory::create('PayPal_Express'); $gateway->setUsername('adrian'); $gateway->setPassword('12345'); } } Which is the example here: https

CodeIgniter + omnipay installation

折月煮酒 提交于 2019-11-30 16:09:03
I have used ci-merchant before but from everything see that the "V2" of it is now omnipay. I use codeigniter and i'm struggling to get even the example to work. I have installed omnipay no problems and in my controller have the following: use Omnipay\Common\GatewayFactory; class Homepage extends BC_basecontroller { public function index() { $gateway = GatewayFactory::create('PayPal_Express'); $gateway->setUsername('adrian'); $gateway->setPassword('12345'); } } Which is the example here: https://github.com/adrianmacneil/omnipay However I get the error: PHP Fatal error: Class 'Omnipay\Common