Archive for the ‘Articles & Reviews’ Category

Ubercart – This transaction is invalid. Please return to the recipient’s website to complete your transaction using their regular checkout flow.

Why oh why is everything to do with Drupal so difficult? With WordPress you just tick a box and everything just works. With Drupal getting even the tiniest thing working you have to spend 1 and a half years bleeding out the eyeballs for.

Having said that the reason for this post is because I’m building an e-commerce website and Drupal seemed a good idea at the time. The site’s actually finished, you can have a look at it here http://www.newagegiftshops.co.uk

The only remaining problem I have is with Ubercart and getting the PayPal payment gateway to work properly – I get this error:

“This transaction is invalid. Please return to the recipient’s website to complete your transaction using their regular checkout flow.”

Neither the Ubercart website or Drupal.org have been of any help whatsoever. I’ve just updated my Ubercart module to the very latest (as of this post) Ubercart 6.x-2.7 and STILL it doesn’t work.

It’s now got to the point where I’m so hacked off with it, that I decided to get rid of that stupid non-working button all together!

A simple modification to your styles.css file will do the trick – It’s a total hack I know but why bother having a button on your site that doesn’t work and clearly never has?

#uc-paypal-ec-form {
    display: none;
}
Fixed!

I’m puttung function over looks, and i’m regarding looks incredibly highly.

HTML 5

For people who want to place a DIV over the top of a Canvas layer.

Q. I’ve just been tinkering around with HTML5 and generating a nice radial gradient fill background that takes up 100% width and height of my browser. I’m now wanting to place a normal <div> layer over the top of my <canvas> command. Is there a simple way to do this in CSS?

A. If you want something like this:

 

Here’s the code:

The CSS looks like this:
{code type=css}
<style type=”text/css”>

body{overflow-x:hidden;
color: #fff;
background-color:#<?php echo ($c1); ?>;
}

div.container{
margin: 0 auto;
padding: 0;
width: 100%;
}

div.wrapper {
left: 0;
padding: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 2;
}

div.adjustmiddle {
margin: 0 auto;
width: 960px;
}

div.content{
background-color: #555;
}

#canvas1{
margin: -8px;
}

</style>
{/code}

 

And the HTML looks like this:
{code type=html}



Fallback content

Look at my mum!

{/code}

RJ45 Pinout – How to make up a CAT5 cable

Here are the pinout’s you need to make up an RJ45 CAT5 Cable. Make sure the plastic hook is facing away from you then separate the wires out going from left to right in the following order: Read more: RJ45 Pinout – How to make up a CAT5 cable