close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paypal switches to usd + no database selected

Thread began 11/30/2011 4:37 am by manager430676 | Last modified 12/02/2011 12:53 pm by manager430676 | 712 views | 5 replies |

manager430676

paypal switches to usd + no database selected

Hi,
I post my problem here, as your paying support, which is supposed to be a "quick" one-to-one troubleshooting support, seems to be very little concerned by my problem.

I've got two problems:

1. php pages do not display

The sites works locally, but not online. For example in : www.sostenibilidad.net, when I want to click on a link that leads to a page (for example : conjunto.php, the page does not display. The error message is "no database selected"

2. Paypal asks for a payment in usd, while everything is configured in euros.
When I try to order products locally, everything works fine until the payment page, where paypal asks a payment in usd and not in euros.

The files may be too heavy, so I have uploaded them here: sostenibilidad.net/files.zip

Sign in to reply to this post

Jason ByrnesWebAssist

1) the no database selected error message means that there is a problem in the database connection file.

before uploading to the live server, you need to create the database on your remote host, then update the database connection file to connect to the hosts my sql server.


2) What paypal method are you using? PayPal standard or PayPal payments Pro?

Sign in to reply to this post

manager430676

Originally Said By: Jason Byrnes
  1)
before uploading to the live server, you need to create the database on your remote host, then update the database connection file to connect to the hosts my sql server.  


the database was created and the connection files are created by dreamweaver, under Connections. I am going to check that

  2) What paypal method are you using? PayPal standard or PayPal payments Pro?  


Paypal standard

Sign in to reply to this post

manager430676

The 1st problem is solved, apparently the difficulties come from the webhosting I use.

I've installed a page in a new testing domain (solidarite.fr) and that works.
The 2nd problem persists:

When I order a product in solidarite.fr/conjunto.php, the cart gives me the price in euros, but it switches to usd when I want to pay with paypal

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, look for the following code:
<input type="hidden" name="currency_code" id="currency_code" value="USD" />


and change it to:
<input type="hidden" name="currency_code" id="currency_code" value="EUR" />

Sign in to reply to this post

manager430676

thanks Jason, that works now.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...