{"id":76,"date":"2009-07-15T09:50:24","date_gmt":"2009-07-15T16:50:24","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/blog\/?p=76"},"modified":"2014-03-01T22:38:38","modified_gmt":"2014-03-02T06:38:38","slug":"1shoppingcart-api-notification","status":"publish","type":"post","link":"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/","title":{"rendered":"1ShoppingCart API Notification"},"content":{"rendered":"<p>You&#8217;re probably not aware (and neither was I until quite recently) that 1ShoppingCart has an API similar to Paypal&#8217;s &#8220;Instant Payment Notification&#8221; (IPN).<\/p>\n<p>Of course, it is nowhere as sophisticated as IPN, but it gets the job done.<\/p>\n<p>And I&#8217;ve just completed about 99.99% of the coding to integrate the 1SC API with DAP. Some more testing needs to be done.<\/p>\n<p>This means that if you use 1ShoppingCart (or a private label like <a href=\"http:\/\/1SiteAutomation.com\" target=\"_blank\">1SiteAutomation.com<\/a>) to process payments, then you no longer need to depend on DAP&#8217;s Email Parsing to process incoming new orders.<\/p>\n<p>This will solve the problem of the occasionally greatly  delayed email notification from  1ShoppingCart, because the 1SC API Notification will be in real time to DAP, just like Paypal notifies instantly of purchases through IPN.<\/p>\n<p>Simply turn on the API in your 1ShoppingCart account (when it is ready, a video will show you how to do this) and the new XML-based script in DAP will take care of the rest.<\/p>\n<p>And now that we have the API integrated, it also means that if someone purchases MULTIPLE membership products in one go, then DAP can now process multiple products in one purchase (transaction), a feature that wasn&#8217;t available before.<\/p>\n<p>The API will also notify of recurring payments.<\/p>\n<p>So, this makes way for lots of very cool features with DAP &#8211; especially when you throw in the &#8220;<a href=\"http:\/\/DigitalAccessPass.com\/new\/self-service-store.php\" target=\"_blank\">Self-Service Store<\/a>&#8220;!<\/p>\n<p>Stay tuned for more news about this soon.<\/p>\n<h2>UPDATE 07\/21\/09: 1SC Bust<\/h2>\n<p>After doing a whole lot of research, coding and live testing (with live purchases), I found out that their stupid API does not support Recurring Order Notifications.<\/p>\n<p>Which means only the very first purchase will ping DAP. The recurring orders won&#8217;t.<\/p>\n<p>So DAP will never know about the subscription payments, which means the extension of the subscription cannot be automated.<\/p>\n<p>So, I&#8217;m dumping this effort for now.<\/p>\n<p>Back to &#8220;Email Parsing&#8221; for 1SC. &lt;Sigh!&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;re probably not aware (and neither was I until quite recently) that 1ShoppingCart has an API similar to Paypal&#8217;s &#8220;Instant Payment Notification&#8221; (IPN). Of course, it is nowhere as sophisticated as IPN, but it gets the job done. And I&#8217;ve just completed about 99.99% of the coding to integrate the 1SC API with DAP. Some [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>1ShoppingCart API Notification - The DAP Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"1ShoppingCart API Notification - The DAP Blog\" \/>\n<meta property=\"og:description\" content=\"You&#8217;re probably not aware (and neither was I until quite recently) that 1ShoppingCart has an API similar to Paypal&#8217;s &#8220;Instant Payment Notification&#8221; (IPN). Of course, it is nowhere as sophisticated as IPN, but it gets the job done. And I&#8217;ve just completed about 99.99% of the coding to integrate the 1SC API with DAP. Some [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/\" \/>\n<meta property=\"og:site_name\" content=\"The DAP Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DigitalAccessPass\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-15T16:50:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-03-02T06:38:38+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"DAP Admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\",\"name\":\"DigitalAccessPass\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/DigitalAccessPass\",\"https:\/\/twitter.com\/poweredbydap\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/wp-content\/uploads\/2014\/12\/cdcaseblankdisc_800x550.jpg\",\"width\":800,\"height\":550,\"caption\":\"DigitalAccessPass\"},\"image\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#website\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/\",\"name\":\"The DAP Blog\",\"description\":\"Membership Plugin For WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.digitalaccesspass.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/#webpage\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/\",\"name\":\"1ShoppingCart API Notification - The DAP Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#website\"},\"datePublished\":\"2009-07-15T16:50:24+00:00\",\"dateModified\":\"2014-03-02T06:38:38+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#\/schema\/person\/e80be58330a2543a918602c6eada2371\"},\"headline\":\"1ShoppingCart API Notification\",\"datePublished\":\"2009-07-15T16:50:24+00:00\",\"dateModified\":\"2014-03-02T06:38:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/#webpage\"},\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\"},\"articleSection\":\"Plugins\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.digitalaccesspass.com\/blog\/2009\/07\/1shoppingcart-api-notification\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#\/schema\/person\/e80be58330a2543a918602c6eada2371\",\"name\":\"DAP Admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f211924f5091ca0ab1a33d4a92a427c9?s=96&d=mm&r=g\",\"caption\":\"DAP Admin\"},\"sameAs\":[\"http:\/\/DigitalAccessPass.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/76"}],"collection":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":6,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":1720,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions\/1720"}],"wp:attachment":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}