Unstoppable Domains — Expired Auctions

PayPal from $ to £

SpaceshipSpaceship
Watch

fried-chicken

Established Member
Impact
5
hi,

ive got script which was in $ ive change all the to £ and everything works fine, except when i click on the paypal button.

it goes to a page in paypal with the amount again in $.

it uses EliteWeaver script for paypal.

I tried seraching the root for usd, currency,$ccy,USD

but nothing

can any one help me!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
if you send me a link to the script I can have a look to see what is causing it but looking at the eliteweaver site I can only get an ipn test form.
 
0
•••
hi,

What bit do you want to look at?

the link is www.officelets.net ,

though i dont think it will work as just changed sever type about 30 mins ago. i can copy and paste it if it helps.

cheers
 
0
•••
copy and paste the code for the page that is used for payment.
 
0
•••
ive looked but i dont know which one does it.

is there anything i should look for?


the site is back up and running now
 
0
•••
I have responded to your pm.

ok had a check in the script you sent me. In payment.php and payment2.php there is no currency in the redirected link so I presume it is reverting to USD.

To change it to GBP change the following 2 lines:-

In payment.php

PHP:
header("location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[PackageName] for $a1[FisrtName] $a1[LastName] ($a1[username])&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[AgentID]|$_GET[SelectedPackage]&amount=$a2[PriceValue]&notify_url=$site_url/notify.php&return=$site_url");

Should be changed too:-

PHP:
header("location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[PackageName] for $a1[FisrtName] $a1[LastName] ($a1[username])&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[AgentID]|$_GET[SelectedPackage]&amount=$a2[PriceValue]&currency_code=GBP&notify_url=$site_url/notify.php&return=$site_url");

And in payment2.php

PHP:
header("location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[PackageName] for $a1[FisrtName] $a1[LastName] ($a1[username])&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[AgentID]|$_GET[SelectedPackage]&amount=$a2[PriceValue]&notify_url=$site_url/notify.php&return=http://$_SERVER[HTTP_HOST");

Should be changed too:-

PHP:
header("location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[PackageName] for $a1[FisrtName] $a1[LastName] ($a1[username])&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[AgentID]|$_GET[SelectedPackage]&amount=$a2[PriceValue]&currency_code=GBP&notify_url=$site_url/notify.php&return=http://$_SERVER[HTTP_HOST]");

Please note the second line that is changed also had an error in it (it was missing a closing ] near the end of the line).

Please let me know if this sorts your problem. Also I will look at your other problems shortly.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back