Search found 24 matches

Search found 24 matches

Re: SagePay error with Special Characters

Did anyone ever solve the The GiftAid flag is invalid issue. I'm having the same trouble, its being caused by accented characters such as À. any help would be great The above fix is not confirmed to be working in 1.5+ I am not sure if I am allowed to post the fix for the version It's a bit...

Jump to post
  • Tue Jan 24, 2012 2:14 am
  • Replies 7
  • Views 2971
Re: SAGEPAY - How to change to test URL

I tried the following to no avail: $finds = Array("ä","ö","ü","Ä","Ö","Ü","ß"); $replace = Array("ae","oe","ue","Ae","Oe","Ue","ss"); $crypt_data = str_replace($finds, $replace, $crypt_data); placed before $this->data['crypt'] = base64_encode($this->simpleXor(implode('&', $crypt_data), $password)); ...

Jump to post
  • Sun Jan 22, 2012 12:07 am
  • Replies 14
  • Views 3340

I have outcommented the line $data['AllowGiftAid'] = '0'; means now: //$data['AllowGiftAid'] = '0'; Furthermore one needs to make sure to convert special characters like ö, ä,ü,ß into oe, ae, ue, ss This can be inserted into the sagepay.php script using a php function. Then everything runs smoothly....

Jump to post
  • Sat Jan 21, 2012 11:26 pm
  • Replies 3
  • Views 1067

Search found 24 matches