Hi.
IPN URL for Paypal is:
http(s)://<your_website_url>/paypal/ipn/
And this is an URL, which PayPal uses to notify a store in many cases, such as: payment state was changed, payment was canceled, payment was refunded manually from PayPal account and so on...
<AM>
Hello,
You can subtract discount amount from subtotal
$amount = number_format($order->getSubtotal() - $order->getDiscountAmount(),2);Is it the value that you need?
Thanks
<AK>
Hello,
The structure of PDF view is hardcoded in the classes Mage_Sales_Model_Order_Pdf_... but you can change some of these models (using <rewrite> tag in the config of your module) to add your logic, or you can substitute the button "Print" (on invoice/shipment view page) and set for it a new URL.
Thanks
<AK>
Hello,
However the error should be logged somewhere. Did you try to check server's log (for example, apache or nginx)?
Thanks
<AK>
Hello,
Do you mean you want to add new payment method which will allow the customers to pay order using a special payment service provider?
You should create a new Magento module for this payment method, you can read about it here: http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-module
Thanks.
<AK>
/* Store or website code */
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Mage::run($mageRunCode, $mageRunType);Mage::run('first_site', 'wibsite');Mage::run('second_site', 'wibsite');|
|
MagentoECG followed the question How do I let the customer save the order? |
<?xml version="1.0"?>
<config>
<!-- ... -->
<global>
<!-- ... -->
<sales>
<quote>
<totals>
<custom_total>
<class>mynamespace_mymodule/total</class>
</custom_total>
</totals>
<!-- ... -->
</quote>
<!-- ... -->
</sales>
<!-- ... -->
</global>
<!-- ... -->
</config> SELECT cpe.entity_id
FROM catalog_product_entity AS cpe
INNER JOIN catalog_product_entity_varchar AS cpev
ON cpev.entity_id = cpe.entity_id
INNER JOIN eav_attribute AS ea
ON cpev.attribute_id = ea.attribute_id
WHERE ea.attribute_code = 'user_id' AND cpev.value = '2'
You can use 'Shopping Cart Price Rules' native magento functionality to provide free shipping for your customers.
<DN>