1 / 3
May 2012

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/oplug.php?ej_stamp_pdf=true&pdf_allow_copy=y&pdf_allow_print=y



and this stamps the PDF. SUCCESS





OR I can put



1http://mysite.us4.list-manage1.com/subscribe/ejunkie-ipn?u=a0411f46773831dfe91f7d0ed&id=04d6b1XXXX1

(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/oplug.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?

  • created

    May '12
  • last reply

    May '12
  • 2

    replies

  • 1.3k

    views

  • 2

    users

  • 6

    links

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



http://www.e-junkie.com/ecom/oplug.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.

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