NOTE: Our only method of payment is Paypal. We have a Paypal business account.
1. When a customer fills out the order and hits submit, it takes them to Paypal. Currently, it sends the customer an email at this point for their sale...we don't want that.
2. The customer then does their thing with Paypal and the payment is made.
What we want is a set up so that they don't get an email until they compete their paypal payment and it is confirmed as a successful payment.
I see all the configuration stuff in the One Page Checkout piece, but I don't understand what I need to be clicking and enabling. Can you help me with this?
Thank you,
Chris
Hello Chris,
you need to do this:
- enable extended classes in virtuemart configuration right under "Generally Prevent SSL"
- go to the configurator's Email tab and click install ps_order.php as extended class (you cannot install it into main class in VM dir as this file calls your original functions and does not work standalone)
- tick [EMAIL_AFTER]: if you want to send your emails only after the payment
- tick [EMAIL_ONLY_POK]: for sending order confirmation/summary email with status confirmed, ALL OTHER STATUSES WILL BE IGNORED AND THE EMAIL WILL NOT BE SENT
- test with a live order (create a small product of a price of 0.01 or similarly and buy it with a real paypal account)
This cannot be checked:
- [NOT RECOMMENDED] as this would you use original ps_checkout->email_receipt function which is buggy
The bottom section of the emails tab is not implemented yet:
Save order and send emails ONLY AFTER PAYMENT :: NOT IMPLEMENTED YET
Let us know if any problems,
Regards,
Stan Scholtz