Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Combining PDF Stamping and MailChimp notification



Dramatis
member
Posts: 6


Hi,

I am trying to do two things each time a purchase is made: Stamp the PDF with the buyer's name etc, and add their details to MailChimp.

In the Common Notification URL,


I can put

http://www.e-junkie.com/ecom/o_plug.php?ej_stamp_pdf=true& pdf_allow_copy=y&pdf_allow_print=y

and this stamps the PDF. SUCCESS


OR I can put

http://mysite.us4.list-manage1.com/subscribe/ejunkie-ipn? u=a0411f46773831dfe91f7d0ed&id=04d6b1XXXX
(I have altered this here for security)

and this submits the email etc to MailChimp. SUCCESS


BUT

When I try to use them together with the passthru like so

http://www.e-junkie.com/ecom/o_plug.php?ej_stamp_pdf=true& pdf_allow_copy=y&pdf_allow_print=y&postto=mysite.us4.list-manage1.com/ subscribe/ejunkie-ipn?u=a0411f46773831dfe91f7d0ed&id=04d6b1XXXX

(as I think is described at the bottom of http://www.e-junkie.com/ej/help.integration.htm#quickbooks)

the PDF is stamped but the postto to MailChimp doesn't work. MUCH SADNESS.



Can someone tell me what I am doing wrong?


#
POSTED ON: May 17, 2012 @ 08:35 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


You would need to include the http:// in the &postto= URL, like so:

http://www.e-junkie.com/ecom/o_plug.php?ej_stamp_pdf=true& pdf_allow_copy=y&pdf_allow_print=y&postto=http://mysite.us4.list- manage1.com/subscribe/ejunkie-ipn?u=a0411f46773831dfe91f7d0ed& id=04d6b1XXXX

However, I don't think the &postto= parameter can handle URLs that have their own query parameters, such as the ?u=a0411f46773831dfe91f7d0ed&id=04d6b1XXXX at the end of that URL.

Fortunately, if you want all your buyers subscribed to the same MailChimp list, you can just put the MailChimp URL in your Seller Admin > Account Preferences > Common Notification URL, then the product's own Payment Variable Information URL would just have the PDF Stamping URL. The Common Notification URL receives the order details for every order, regardless of the particular item(s) ordered, while a product's Payment Variable Info URL only receives the order data when that particular item is ordered.


#
POSTED ON: May 17, 2012 @ 13:20 GMT -7




Dramatis
member
Posts: 6


Thank you E-junkieGuru.

I have taken your advice and separated this out between the Common Notification URL and the item's Payment Variable Information, and now it works perfectly. The only reason I didn't do that in the first place is because I didn't know if one would override the other.

Just as an aside, I am moving slowly from selling as a hobby towards doing it as a business, and E-junkie is one of just a few products/services that I have come to trust/rely on/thank God for! It does everything I would want it to do at a good price and your answers to people on these forums make it obvious you really care. Thank you so much!


Rod


#
POSTED ON: May 18, 2012 @ 03:41 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam