Payments with Ogone won't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Opinion
|
Undecided
|
Unassigned |
Bug Description
So the bug is the following:
If a webshop (my own at the moment) sends you to Ogone to make a payment, it will also send a hash to Ogone to check the values for the payment.
Example:
$Ogone_sha1 =
echo $Ogone_sha1;
$form1 = '<form name="directpay
<input name="PSPID" type="hidden" value="'.$PSPID.'" />
<input name="AMOUNT" type="hidden" value="'.$Price.'" />
<input name="ORDERID" type="hidden" value="
<input name="CURRENCY" type="hidden" value="EUR" />
<input name="LANGUAGE" type="hidden" value="en_us" />
<input name="PM" type="hidden" value="'.$pm.'">
<input name="TITLE" type="hidden" value="Payment via Ogone">
<input name="BGCOLOR" type="hidden" value="#010000">
<input name="SHASIGN" type="hidden" value="
This is just to show how Ogone receives the info it needs to process the payment. All values must be hashed in alphabetical order.
Now if I do this payment through Chrome or Firefox, it works beautifully, but when I do it through Midori I get the following error in Ogone:
"unknown order/1/r/"
This error occurs if they referer (so where you get send from TO Ogone) is not the same referer as defined upfront in your Ogone control panel.
Now in firefox or chrome the referer stays the same, but in Midori I get this error.
Is this a Midori bug or something else?
You can change this in "Preferences" -> "Privacy" -> "Strip referrer details sent to websites".
Dunno if it's a bug or a feature....