2
Magento使用Paypal付款方式以编程方式创建订单
目前,我们有两个magento独立网站。一种表现为店面,另一种表现为后端。用户可以在前端下订单。 因此,我尝试在后端以编程方式创建相同的顺序。当用户通过checkmo付款方式付款时,它可以工作。但是,当用户通过PayPal付款时,它将无法正常工作。因此,有人知道我们如何使用PayPal付款方式以编程方式创建订单吗?有没有可能? $quote->getPayment()->importData(array(3) { [method] => paypal_express [last_trans_id] => 65Y31421KL2753028 [additional_information] => Array ( [paypal_express_checkout_shipping_method] => [paypal_payer_id] => 5LX84SUFY39L4 [paypal_payer_email] => abbas-buyer-2@bluewisesoft.com [paypal_payer_status] => verified [paypal_address_status] => Confirmed [paypal_correlation_id] => b78b4e5e6e527 [paypal_express_checkout_payer_id] => 5LX84SUFY39L4 [paypal_express_checkout_token] => EC-7P402752023166448 [paypal_express_checkout_redirect_required] => [paypal_protection_eligibility] => Eligible [paypal_payment_status] => pending [paypal_pending_reason] => authorization ) }); …