![](/img/trans.png)
[英]Magento - PayPal payment pro - 10002 security header is not valid error
[英]Magento PayPal Payment Pro not sending confirmation email
貝寶付款專業版在授權信用卡后無法發送確認電子郵件時出現問題。 PayPal Express Checkout工作正常。
我看不到更改此選項。 任何人都可以向我指出正確的方向,我應該編輯該文件以使PayPal Payment Pro在授權付款后發送訂單確認電子郵件?
(更改authorize
sale
對我不起作用。)
謝謝。
PayPal Payment Pro不發送確認電子郵件功能。
但是您可以通過在收款后創建觀察員來實現。
checkout_onepage_controller_success_action
。 如果您的訂單成功,則可以使用它。 sales_order_payment_pay
。 如果您的訂單成功,則可以使用它。 您也可以使用它。 1)為呼叫觀察者文件創建自定義config.xml
config.xml文件定義你的模塊,並聲明的事件偵聽特定事件( checkout_onepage_controller_success_action
當onepage結帳過程完成后,被送到sales_order_payment_pay
是在付款的時候已經確認發送)。
<?xml version="1.0"?>
<config>
<modules>
<Namespace_Modulename>
<version>0.1.0</version>
</Namespace_Modulename>
</modules>
<frontend>
<events>
<sales_order_payment_pay>
<observers>
<Namespace_Modulename_Customevent>
<type>singleton</type>
<class>Namespace_Modulename_Model_Observer</class>
<method>customFunction</method>
</Namespace_Modulename_Customevent>
</observers>
</sales_order_payment_pay>
</events>
</frontend>
</config>
2)在module / Model目錄中創建observer.php文件,然后粘貼此代碼
<?php
class Namespace_Modulename_Model_Observer
{
public function customFunction(Varien_Event_Observer $observer)
{
$order_id = $observer->getData('order_ids');
$order = Mage::getModel('sales/order')->load($order_id);
//your code here
}
}
告訴我是否需要進一步的幫助
貝寶不會將電子郵件通知發送給授權付款。 一旦您捕獲了此授權的金額,電子郵件通知就會發送給您。 如果要獲取傳入授權的通知,請使用即時付款通知(IPN)。 請檢查Magento后端系統中的設置以進行配置。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.