<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Single Barclaycard EPDQ account to work for multiple domains</title>
	<atom:link href="http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 12:09:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5706</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 30 Jan 2012 20:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5706</guid>
		<description>oh and should the epdq returnurl hidden field specified by our oscommerce site be set to its own internal handler or to the epdq_response.php ?</description>
		<content:encoded><![CDATA[<p>oh and should the epdq returnurl hidden field specified by our oscommerce site be set to its own internal handler or to the epdq_response.php ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5705</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 30 Jan 2012 09:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5705</guid>
		<description>ok so can you clarify what urls I should have set for the prefixes in epdq_response.php ?

should D1 and D2 be the standard epdq handler urls set before then ?</description>
		<content:encoded><![CDATA[<p>ok so can you clarify what urls I should have set for the prefixes in epdq_response.php ?</p>
<p>should D1 and D2 be the standard epdq handler urls set before then ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5703</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Mon, 30 Jan 2012 02:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5703</guid>
		<description>Hi David,

Sorry for replying late. 
&quot;Invalid access&quot; should be displayed only when user try to access it directly or technically, if no data has been sent via &quot;POST&quot; method (the way EPDQ sends data)

Could you please try replacing 

if (strtoupper($_SERVER[&quot;REQUEST_METHOD&quot;]) == &quot;POST&quot;){

by 

if (isset($_POST)){

Let me know if this helped.</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Sorry for replying late.<br />
&#8220;Invalid access&#8221; should be displayed only when user try to access it directly or technically, if no data has been sent via &#8220;POST&#8221; method (the way EPDQ sends data)</p>
<p>Could you please try replacing </p>
<p>if (strtoupper($_SERVER["REQUEST_METHOD"]) == &#8220;POST&#8221;){</p>
<p>by </p>
<p>if (isset($_POST)){</p>
<p>Let me know if this helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5696</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 28 Jan 2012 11:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5696</guid>
		<description>finally in our epdq_response.php we have the prefixes mapped as follows:-
  $domainMap = array(&#039;D1&#039; =&gt; &#039;http://www.shopdomain.com/epdq_success.php&#039;,
                     &#039;D2&#039; =&gt; &#039;http://www.domaintwo.com/paymentredirect.php&#039;);

the paymentredirect.php file is the epdq handler for whmcs and the epdq_success.php is our oscommerce handler script

Hopefully there is something trivial here we have wrong ;)</description>
		<content:encoded><![CDATA[<p>finally in our epdq_response.php we have the prefixes mapped as follows:-<br />
  $domainMap = array(&#8216;D1&#8242; =&gt; &#8216;http://www.shopdomain.com/epdq_success.php&#8217;,<br />
                     &#8216;D2&#8242; =&gt; &#8216;http://www.domaintwo.com/paymentredirect.php&#8217;);</p>
<p>the paymentredirect.php file is the epdq handler for whmcs and the epdq_success.php is our oscommerce handler script</p>
<p>Hopefully there is something trivial here we have wrong <img src='http://www.imranulhoque.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5694</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 28 Jan 2012 11:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5694</guid>
		<description>I have this almost working ;)

I am integrating in with WHMCS and OsCommerce

The OsCommerce payments are going from our shop via your script (on another domain) to epdq ok, the payment is being taken successfully but the path back does not work

the customer gets an error message of &quot;Invalid Access !!!&quot;

Looked and this in code for epdq_response.php

the url has an order id from our shop tagged on i.e. epdq_response.php?oid=38575

What could we have wrong that would cause this error ?</description>
		<content:encoded><![CDATA[<p>I have this almost working <img src='http://www.imranulhoque.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I am integrating in with WHMCS and OsCommerce</p>
<p>The OsCommerce payments are going from our shop via your script (on another domain) to epdq ok, the payment is being taken successfully but the path back does not work</p>
<p>the customer gets an error message of &#8220;Invalid Access !!!&#8221;</p>
<p>Looked and this in code for epdq_response.php</p>
<p>the url has an order id from our shop tagged on i.e. epdq_response.php?oid=38575</p>
<p>What could we have wrong that would cause this error ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5659</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Sun, 16 Oct 2011 15:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5659</guid>
		<description>Hi Dev,

You are correct about epdq_handler.php, these are the files, that update the order databases of corresponding domains.

The ReturnURL is not related to epdq_handler.php. The &quot;return url&quot; is sent (as a hidden field) along with the order information while user checks out. For multiple domains, you should set domain specific &quot;return url&quot; and user will be returned back to that page after they have made the payment. It is generally the checkout success page that site owner wants to show the user after they have made the order.</description>
		<content:encoded><![CDATA[<p>Hi Dev,</p>
<p>You are correct about epdq_handler.php, these are the files, that update the order databases of corresponding domains.</p>
<p>The ReturnURL is not related to epdq_handler.php. The &#8220;return url&#8221; is sent (as a hidden field) along with the order information while user checks out. For multiple domains, you should set domain specific &#8220;return url&#8221; and user will be returned back to that page after they have made the payment. It is generally the checkout success page that site owner wants to show the user after they have made the order.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5658</link>
		<dc:creator>Dev</dc:creator>
		<pubDate>Sun, 16 Oct 2011 12:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5658</guid>
		<description>Hi Imran

This is very useful thank you,

ICan you clarify to me what the epdq_handler.php does, my understanding is the epdq_response.php posts all the payment data to it, then I use  epdq_handler.php to updates my database based on the transactionstatus.

Also will the returnURL page show after the epdq_handler.php is done?

Thank you
Dev</description>
		<content:encoded><![CDATA[<p>Hi Imran</p>
<p>This is very useful thank you,</p>
<p>ICan you clarify to me what the epdq_handler.php does, my understanding is the epdq_response.php posts all the payment data to it, then I use  epdq_handler.php to updates my database based on the transactionstatus.</p>
<p>Also will the returnURL page show after the epdq_handler.php is done?</p>
<p>Thank you<br />
Dev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5657</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Tue, 11 Oct 2011 07:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5657</guid>
		<description>Hi Rob,

Yes your are correct. The prefix is just to differentiate the requests from different domains. Thanks for your comment, and sorry for the late reply.</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>Yes your are correct. The prefix is just to differentiate the requests from different domains. Thanks for your comment, and sorry for the late reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5656</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 09 Oct 2011 10:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5656</guid>
		<description>Hello Imran,

I have a question about the multi site epdq (very glad I found it BTW!). Am I right that the prefix code is added to the existing site scripts before it gets to request.php and then stripped out again after response.php? I think that&#039;s right but not quite sure...

Rob</description>
		<content:encoded><![CDATA[<p>Hello Imran,</p>
<p>I have a question about the multi site epdq (very glad I found it BTW!). Am I right that the prefix code is added to the existing site scripts before it gets to request.php and then stripped out again after response.php? I think that&#8217;s right but not quite sure&#8230;</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAMIR KUNDU</title>
		<link>http://www.imranulhoque.com/payment-gateway/single-barclaycard-epdq-account-for-multiple-domains/comment-page-1/#comment-5631</link>
		<dc:creator>SAMIR KUNDU</dc:creator>
		<pubDate>Mon, 25 Apr 2011 23:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=180#comment-5631</guid>
		<description>Hello Imran
RE: Barclaycard ePDQ (MPI)
Reading your blog, is breath of fresh air to me. Since, I don’t have any experience and I am not a software expert so, please help. It’s fora commercial reason I am writing to you.  
I need to integrate single Barclaycard ePDQ (MPI) for three websites.
Obviously, I would pay for solving my Ecommerce problem. Either yourself or someone who would be prepare to undertake my project. If I may have your telephone number, so I can discuss over the phone.
Look¬ forward to hearing from you soon.
Thank you.
Samir

Samir_kundu@samirkundugroup.co.uk
Tel: +44 (0) 191 514 2483</description>
		<content:encoded><![CDATA[<p>Hello Imran<br />
RE: Barclaycard ePDQ (MPI)<br />
Reading your blog, is breath of fresh air to me. Since, I don’t have any experience and I am not a software expert so, please help. It’s fora commercial reason I am writing to you.<br />
I need to integrate single Barclaycard ePDQ (MPI) for three websites.<br />
Obviously, I would pay for solving my Ecommerce problem. Either yourself or someone who would be prepare to undertake my project. If I may have your telephone number, so I can discuss over the phone.<br />
Look¬ forward to hearing from you soon.<br />
Thank you.<br />
Samir</p>
<p><a href="mailto:Samir_kundu@samirkundugroup.co.uk">Samir_kundu@samirkundugroup.co.uk</a><br />
Tel: +44 (0) 191 514 2483</p>
]]></content:encoded>
	</item>
</channel>
</rss>

