Jump to content

cjohnson_uk

Members
  • Content count

    45
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    ChrisJ
  1. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Not sure how that would help. Here's my jump file code. AFAICT this should work.... <?php /* $Id: ePDQJmp.php,v 0.1 2005/09/18 15:34:25 ChrisJ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> <link rel="stylesheet" type="text/css" href="<? echo TEMPLATE_STYLE;?>"> <?php if ($javascript) { require(DIR_WS_JAVASCRIPT . $javascript); } ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onLoad="document.forms[0].submit()"> <form name="checkout_confirmation" action="https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e" method="post"> <input type="hidden" name="osCsid" value="<?php echo $_POST['osCsid'];?>" /> <input type="hidden" name="epdqdata" value="<?php echo $_POST['epdqdata'];?>" /> <input type="hidden" name="returnurl" value="<?php echo $_POST['returnurl'];?>" /> <input type="hidden" name="merchantdisplayname" value="<?php echo $_POST['merchantdisplayname'];?>" /> <input type="hidden" name="cpi_textcolor" value="<?php echo $_POST['cpi_textcolor'];?>"/> <input type="hidden" name="cpi_bgcolor" value="<?php echo $_POST['cpi_bgcolor'];?>" /> <input type="hidden" name="cpi_logo" value="<?php echo $_POST['cpi_logo'];?>" /> <input type="hidden" name="supportedcardtypes" value="<?php echo $_POST['supportedcardtypes'];?>" /> <input type="hidden" name="bname" value="<?php echo $_POST['bname'];?>" /> <input type="hidden" name="baddr1" value="<?php echo $_POST['baddr1'];?>" /> <input type="hidden" name="baddr2" value="<?php echo $_POST['baddr2'];?>" /> <input type="hidden" name="bcity" value="<?php echo $_POST['bcity'];?>" /> <input type="hidden" name="bcountyprovince" value="<?php echo $_POST['bcountyprovince'];?>" /> <input type="hidden" name="btelephonenumber" value="<?php echo $_POST['btelephonenumber'];?>" /> <input type="hidden" name="email" value="<?php echo $_POST['email'];?>" /> <input type="hidden" name="bpostalcode" value="<?php echo $_POST['bpostalcode'];?>" /> <table><tr><td class="main"><b>Processing order data.</td></tr><tr><td>Passing order details for payment</td></tr><tr> <td class="main" align="right"><input type="submit" value="Click here to proceed if your browser doesn't support Javascript"/></td></tr></table></form> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Any comments on this? I've taken an existing file as a template and just put the new autosubmitting form code in it. ChrisJ
  2. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    I think from a customer confidence point of view a secure page throughout checkout might be better, although the jump page will, presumably throw up a "you a leaving a secure connection" message and then the barclay page will throw up a "secure page message" again meaning more clicks! I think a jump page may be better than a non https page at the moment as the majority of customers still pay on account. Any chance you coul dpost your uymp page code so I have something to start with please? I wish I had more time to do OSCommerce, it might make it a little easier! ChrisJ
  3. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    I was thinking of adding the session ID to the epdq table with the order ID etc as the order ID definately gets returned. After returning from the epdq pages the return page is a "jump" page that reads the session ID back from the table (based on the returned order ID) and jumps to the order confimation page with the session ID restored to the url. All I need is the code for the jump pages. Not quite sure how these work or what to google for. ram_bhamidi: My customers don't land anywhere yet as they don't get to epdq as the session ID on the calling page invalidates it as a valid calling page! I don't yet have my jump page! ChrisJ
  4. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Well I'm back, after originally posting in January at the top of this thread the client has now passed me the epdq account details. I've added the extra sections of code to my files, set up the cpi folder etc, done all the password stuff at the PCI end. Now all I have to do it work out the sessions bit. I've tried it with force cookies but something in the code is stopping throwing me back to "you must have cookies enabled" page despite my attempts to enable cookies. So my questions are: Has anyone used the jump page as suggested? If the session ID was passed as a hidden field to the CPI would it get returned? If so could another jump page be set up as the return page to jump to with the session ID reinstated? Any ideas welcomed. ChrisJ
  5. cjohnson_uk

    Jpsy Problem w/ MS2 HTML WYSIWYG Editor

    Did you get any luck with sorting this? I've run into the same problem! Chris
  6. You can use something like Winmerge from sourceforge to find all the differences for you. It will even make the changes as you review the differences. Seems to work well for me! Chris
  7. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Joe No client fiddled with website and has changed priorities to be offline payment. SHould get work done this week. I'll let you know how I get on although he's not applied for epdq account yet! Thanks again Chris
  8. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Joe Thanks for this. Just a few points you might not be aware of: 1) There is a cpi folder in the contribution zip file with 3 files in it: .htaccess, .htpasswd2 and complete.php These contain user names and passwords (encrypted) and a domain name (buy a mattress) and this may or may not cause you a security problem. 2) The instructions don't detail anywhere whether this folder is required or not, and if it is it doesn't say what to do with the complete.php file. 3) Files listed in the instructions are epdq_success.php lang\epdq_success.php ePDQ.php lang\ePDQ.php but not all these files/ folders exist in the latest contribution file! epdq_success.php is there lang\epdq_success.php is not there nor is the folder lang ePDQ.php and lang\ePDQ.php are not there but catalog\includes\languages\english\modules\payment\ePDQ.php and catalog\includes\modules\payment\ePDQ.php are. Any pointers appreciated. ChrisJ
  9. I want to be able to take credit card and switch details in the UK for offline payment. Does anyone have any recommendations for a contribution to install that provides the most secure way to transfer the cc/switch details? Some seem to use gpg in emails, others encode the data in the db. I'm on a "standard" hosting account with the option for https so installing extra non php stuff on the server may not be an option. Any suggestions welcome. Chris
  10. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    What are you doing beofre 9am? Why can't you get up a bit earlier !!! ;) and fancy finishing at 10pm! Whoever heard of that! <_< Joe Thanks for all your efforts on this. I've got another meeting next friday (hopefully) with a client that is a lead from the client wanting the epdq and they want a shop site too! Foretunately its the same products so that makes populating it easier, hopefully they will want the same payment arrangements. Though they have indicated they may want to customers to be able to pay "on account". Looks like I need to do a search. Anyway good luck Speak to you next week. Chris
  11. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Any news on this Joe? Not meaning to push but it would be nice to be able to tell my client when they might expect it to be available. I've found people are often quite willing to wait if they know how long they have to wait but don't like being in the dark even if its for less time. Hope you've managed to get this sorted. You will be making alot of people happy! Looking forward to hearing from you Chris
  12. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    This sounds great. You've probably already thought of this but : if youhave multiple customers paying at the same time how does the complete.php work out which "temporary" order to move to OSC completed orders table from the data posted back from epdq. Is there some code passed to epdq which uniquely identifies the order "on hold"? Does the script make sure that the post from epdq is actually from epdq and not from another web site? If you place an order and go to pay but then force a POST to the shops complete.php from another site with the payment success details what stops the shops complete.php script accepting this bogus post data? If I understand correctly it is in a new session rather than the existing session already set up. (I may be well of mark on this one but having talked to the technical guys at epdq this was one area I was still woolly on despite their efforts to educate me). Is there a timeout on the amount of time between leaving to go the epdq site and the return post coming back after which the temporary order can't be transferred to the completed orders. I don't think its a big deal clearing out the "payment failed" orders. If 10% of orders fail (which I think is a high estimate) and you get 100 orders per day thats still a very small amount of extra records by the end of the month. It would be better to be able to identify the customer from the "uncompleted" order and their basket contents and to display all their orders to see if they had a newer order that was successful and if not to contact them if you can complete the order on the phone and to ask how to make theier shopping experience better. It might be good to be able to email "failedorders@myoscshop.com" with the details after the "time out" so that you have the option of following it up whilst the order is still fresh in their mind. "Hello this is Mike from myoscshop customer services. Our records show you might have experienced a problem shopping on our site. We apolgise for any inconvenience this has caused you. Would you still like to place the order? I can take the details over the phone if you wish? For security you may wish to call us back on the telephone number on our website. Just ask for Mike when you get through." ...is much more likely to create a returning customer than no action at all or a call at the end of the month. Of course you can decide whether to call them or not based on wether they have placed a subsequent successful order. Did you say that if it returns unsuccessful complete.php will display "You seem to have had a problem" and return them to the shop with their cart still containing their order items so that they can try again? Looking forward to hearing from you again. "I'nt open source brillyunt." Chris
  13. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Thanks for the update. I think Tim is working on this still too. Maybe a PM would help prevent any duplication. I'm still too new to osc to take a look myself but I'm getting there, slowly.... Chris
  14. cjohnson_uk

    Urgent Help Needed with ePDQ Payments

    Tim Any luck with this? I've been on to Barclaycard/ePDQ today and they say it should be possible to capture what they send back at the point the payment is processed successfully (as other shop solutions do it) and use this to trigger oscommerce to mark the order as ready for despatch instead of waiting for the continue. Its still a bit beyond me as I've only just started with osc but it would be good to hear how you got on. ChrisJ
×