Permalink
Browse files

Send invoice date to Sparkpost

  • Loading branch information...
allanmc committed Apr 26, 2016
1 parent 7812127 commit 863d8dc4fd6965970292a89d3e7c6dfae656cadc
Showing with 2 additions and 1 deletion.
  1. +2 −1 routes/payment.js
View
@@ -420,7 +420,8 @@ exports.webhook = function (req, res, next) {
{name: "PRODUCTPRICEEXVAT", content: priceExVat },
{name: "VATRATE", content: vatRate*100 },
{name: "CREDITCARD", content: creditCardText },
- {name: "COUNTRY", content: country}
+ {name: "COUNTRY", content: country},
+ {name: "DATE", content: moment().format('MMMM Do, YYYY')}
],
'payment-invoice'
);

0 comments on commit 863d8dc

Please sign in to comment.