Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Everything posted by mattbate

  1. mattbate

    Urgent Help Needed with ePDQ Payments

    Thanks for the quick reply on this I started off with gary's (excession) hard coded hack with the payment type put in the hidden field but this still didn't work. so I used the de-bug code he gave me, and it seemed to only be partially working. It seems that it has something to do with registering the payment method that has been selected into the $payment_modules -> selected_module variable this happens at this line $payment_modules->update_status(); in the checkout_confirmation.php file. i've followed this command back to payment.php when it is declaired and it looks like someone has doubts about it there too according to the comment. perhaps someone who has more php knowledge than me could read it to work out what is going on. anyway. I think that update_status() is supposed to add the selected module from the checkout_payment page to the selected module variable not sure why is happens only the second time round. manually entered the data into $payment_modules -> selected_module with the following line just before the update_status command is called so that it all reads like the following. require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); require(DIR_WS_CLASSES . 'order.php'); $order = new order; // matt edit $payment_modules->selected_module = 'ePDQ'; //matt edit end $payment_modules->update_status(); this of course won't work when you have multiple payment options. but i think that suits me for now as i'm unlikely to need to add other methods. thanks for the help Matt
  2. mattbate

    Urgent Help Needed with ePDQ Payments

    Well I've got the new contribution working on my site very well and its only taken me the morning, it was an upgrade from the last one. Only one major issue at the moment that i'm working on, i'll come on to that in a minute. I've been trying to solve the problem of the digital reciept emails not being sent out all week so this came out at the perfect time for me and stopped me going crazy, digging ever deeper into oscommerces inner workings. I cheered so loudly when the full email arrived with all the order details on there anyway the problem i have is this. - when going through the check out process all seems to be going well - until you get to the final screen in the the process (checkout_confirmation.php) - it seems not to make the request to the barclays server for the encrypted epdqdata - so i thought i was seeing a cached page or something i press f5 and now included in the form is the full epdqdata string and everything works perfectly through out the rest of the process. am going to have a dig into this now, to see if i can see what might be. Any sugestions gratefully accepted, just thought you would like to hear about my progress from what I think is a successful morning. i'm running a standard install of oscommerce, this is the only extra contribution i have installed. cheers Matt
  3. mattbate

    Urgent Help Needed with ePDQ Payments

    Hi I had this error when I started out with getting this contribution working, I'm sorry to say that I can't remeber exactly what the problem was but it was something to do with the information that you are sending to Barclays. things to check that the merchant id field in the admin area of your website is what is also refered to as the store id by barclays. I found your post whilst trying to find a solution to something else hope that helps Matt