Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Different orderconfirmation to client and merchant

$
0
0
For other NB Store users:

I solved the above problem by creating my own PaymentProvider.

I have added a few custom settings for this situation and expanded the PaymentProvider to send an extra email
when the payment is confirmed by the paymentprovider .

Some small parts of code which is extra executed when payment is succesfull:
String sEmailAdresWorkorder = SharedFunctions.GetStoreSetting(this.PortalId, "workorder.email", "None"); // EMAIL ADRES WORKORDER CONFIRMATION
String sEmailTemplateWorkorder = SharedFunctions.GetStoreSettingText(this.PortalId , "workorder.email", "None"); // EMAIL TEMPLATE WORKORDER CONFIRMATION
 if (!String.IsNullOrEmpty(sEmailAdresWorkorder) &&  !String.IsNullOrEmpty(sEmailTemplateWorkorder))
  {
       SharedFunctions.SendStoreEmail(this.PortalId , sEmailAdresWorkorder, "workorder.email",  oOrderInfo, "workorder.email", "");
    }

Viewing all articles
Browse latest Browse all 4081

Trending Articles