How to create memo in magento? - php

I have an order with paid invoice and a want to refund it.
Using PayPal express checkout(Sale) account.
How i change the invoice status and cancel order in Magento.
When i click on Refund button it respond me "Cannot create memo"

If you cant create a credit memo, may it be because of the following reasons:
The invoice for that particular order has not been created.
The grand total of that order is zero (may be after applying discount).
Have you ticked the check-box that appears just above the refund amount ??(i.e whether to mail the customer the credit memo.) If Yes, then the email sending is failing and memo is not getting created.

Related

Order does not exist in Magento but customer has paid for it

One situation was happened in my website which build in Magento.
Situation is : A customer added products in cart, he bought products using Paypal express checkout payment method. he did the transaction in Paypal, money was deducted from his account but the order was not created in Magento due to unknown issue(I think due to internet issue on client machine or our server issue).
What I want do now : I got his cart detail from sales_flat_quote and sales_flat_quote_item table. I want to generate an order using this detail using Paypal payment method progamatically . customer has send us the Paypal transaction id, invoice id from Paypal and also shipping address.
Can anyone tell me how to do this ?

No credit memo button available if the end price if 0

I'm trying to convert a magento instance from a b2c platform to a b2b platform.
I'm having issues with a particular part of magento.
When an order with the final price of 0 is issued, I have no credit memo button available.
The order is issued from the back-end and in the Payment Method Field the massage is
No payment Methods.
This is actually logical because there is no amount of payment to be refunded.
But the thing is that the product, although it does not cost the customer anything to buy, it actually leaves my stock.
The first question is, if this is a normal behavior for magento of is something broken on my end?
The end goal is not to refund my customer's money but to get the product in my stock again.
If this in normal for a magento instance, is there any other way to force a payment method when the order is issued so that the credit memo button will be available and later down the refund process, will let me get the product back in stock?

Magento serial codes

I'm using 'Serial Codes' from 'ModifyMage Solutions' to send serial codes when somebody is buying a product.
Does anybody knows how to send the serial codes ON PAYMENT?
Not on checkout, because that's simple, but ON PAYMENT?
Thanx in advance
You just need to edit your settings. The module can be configured to automatically issue Serial Codes on checkout success, or when an order is invoiced and paid. Source: http://www.modifymage.com/
Here's the important and relevant bits:
Choose to automatically issue Serial Codes based on customer group, checkout success, or when an order is invoiced and paid. Supports the option to create multiple invoices per order.
Automatically assign Serial Codes to deferred payment orders as "Pending" without actually issuing them to the customer until the order is invoiced. Allows for more effective tracking and inventory control. Pending codes are automatically returned to "Available" status if the order is cancelled.
Automatically withhold issuing of Serial Codes for standard Magento deferred payment methods ('Check or Money Order,' 'Cash On Delivery,' 'Bank Transfer') with the ability to notify customers that Serial Codes will be issued upon receipt of payment. Additional deferred payment methods from specific payment modules are also supported.

Magento secure trading payment method need to hold a payment option

In my magento store have many customers. I want to offer my old customer with this special option.
(i.e) No need to pay at the end of the sale. They can pay later with their outstanding invoices by online mode. Is there any possible to set this option with magento store.
I m using Secure trading payment gateway.
Thanks
Yes, You could implement payment method for special customer group and this payment method Will only generate invoice for the sales order and set its status to Pending.
Then you will do another module that add tab to the customer account page ( for example Pending Invoices ), And this module generate payment form based on invoice/order data and when they pay it you mark the invoice as paid and captured.
Its straight forward concept if you know that Magento Invoices has Statuses ( Paid, Pending, Canceled ) And you can check the invoices from sales->invoice ( just like the orders !)

Magento - Create credit memo / refund programmatically through code

Is there any way of creating a Credit Memo / Refund dynamically through code. I am aware of the fact that Credit Memo can be created using back-end functionality on an invoice but I would like to create a credit memo for a specific order separately based on the following requirements
For selected items
Deduct the shipping cost from the refund
Updating the Stock Qty back
Contacting my payment gateway to perform this refund and transfer the money back into customer's account
I have Sagepay module installed as well for payment purposes and the Refund happens fine using Magento's in built functionality and Sagepay together. But I would like to create a Refund when a customer after shipment asks for refund for few items or all items of a order.
I have created a custom module and am calling a function to perform the refund action. So on call of this function I want to dynamically create Refund for selected items and contact Sagepay to perform the refund transaction for the customer and Magento to update the stock back.
I would just like some help on the starting bits as to where to look for the code and how to combine Sagepay's refund functionality along with Magento's in built one in my module's function call etc ?
Any help is appreciated. Thanks in advance.
I have found an API(see link below) for creating credit memos.
http://www.magentocommerce.com/boards/errors.php/viewthread/215141/

Categories