Jump to content

Auto email a delivery slip


Ash25

Recommended Posts

Hi everyone,

 

I'm using Prestashop 1.6.1.11

 

My store accepts payments by Paypal. What I'm trying to do is when a customer places an order and completes payment through Paypal, I want the Order Status to be automatically set to 'Processing in progress', and a copy of the Delivery Slip be automatically emailed to me.

 

Is that possible to do and where would I find the code or back office options to do this?

 

Thanks in advance.

 

Ash

Link to comment
Share on other sites

It will not be very easy. 

 

1. you will need to create new email template for your new email, and place the mail templates under /mails/xx (where xx is iso code of each language)

2 .At back office - Orders - Orders statuses you are able to choose email template to attach for each order status.

if that order status does not exists, you can create one.

3. you need to modify the Paypal module you are using to set the order status to the one you wanted (Processing in progress) 

The status is one of the parameters when call validateOrder function to create order inside all payment modules.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...