Php codeigniter CI商户贝宝
我需要支付订单贝宝集成。我已经做的是集成api。它就像它需要的那样工作。。去贝宝网站,给我选择支付,但在我按下支付按钮后,它只是重新定位到我成功定义的页面,当然不会付款。以下是我的paypal php代码:Php codeigniter CI商户贝宝,php,codeigniter,paypal,continuous-integration,Php,Codeigniter,Paypal,Continuous Integration,我需要支付订单贝宝集成。我已经做的是集成api。它就像它需要的那样工作。。去贝宝网站,给我选择支付,但在我按下支付按钮后,它只是重新定位到我成功定义的页面,当然不会付款。以下是我的paypal php代码: $this->load->library('merchant'); $this->merchant->load('paypal_express'); $settings = $this->merchant->default_
$this->load->library('merchant');
$this->merchant->load('paypal_express');
$settings = $this->merchant->default_settings();
$settings = array(
'username' => '*',
'password' => '*',
'signature' => '*',
'test_mode' => false,
'solution_type' => array('type' => 'select', 'default' => 'Sole', 'options' => array(
'Sole' => 'merchant_solution_type_sole',
'Mark' => 'merchant_solution_type_mark')),
'landing_page' => array('type' => 'select', 'default' => 'Billing', 'options' => array(
'Billing' => 'merchant_landing_page_billing',
'Login' => 'merchant_landing_page_login')));
$this->merchant->initialize($settings);
if(isset($_POST['pay'])){
$params = array(
'amount' => '0.20',
'currency' => 'USD',
'return_url' => 'pay/succesfull',
'cancel_url' => 'pay/cancel');
$response = $this->merchant->purchase($params);
if ($response->success()){
echo "paid sucesfuly";
}
else
{
$message = $response->message();
echo('Error processing payment: ' . $message);
exit;
}
这是一个打印屏幕,应该在这里支付完成,但按下“立即支付”后,它只会进入我的Successfull网站。
听起来你没有完成这个过程。快速结账的整个流程是
听起来你已经有了1-4个,甚至可能有5个,但是你错过了6个。在调用DECP之前,实际上不会发生任何事务。你一定错过了那一段。听起来你没有完成这个过程。快速结账的整个流程是
听起来你已经有了1-4个,甚至可能有5个,但是你错过了6个。在调用DECP之前,实际上不会发生任何事务。你一定错过了那一段。听起来你没有完成这个过程。快速结账的整个流程是
听起来你已经有了1-4个,甚至可能有5个,但是你错过了6个。在调用DECP之前,实际上不会发生任何事务。你一定错过了那一段。听起来你没有完成这个过程。快速结账的整个流程是
听起来你已经有了1-4个,甚至可能有5个,但是你错过了6个。在调用DECP之前,实际上不会发生任何事务。你一定错过了这一部分。使用其他PayPal库和works pefect查找解决方案,如果其他人需要,这里是链接。使用其他PayPal库和works pefect查找解决方案,如果其他人需要,这里是链接。使用其他PayPal库和works pefect查找解决方案,这里是其他人需要的链接。使用其他PayPal库查找解决方案,效果良好,这里是其他人需要的链接