We're sorry, things don't appear to be working at the moment. Please try again later.

Caspar007
Contributor
Contributor

I have the following code:

 

<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypal-form">
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="business" value="Email Address">
  <input type="hidden" name="currency_code" value="US">
  <input type="hidden" name="item_name" value="Furling System for a <?php echo $forestay; ?> feet and <?php echo $inches; ?> inches forestay">
  <input type="hidden" name="amount" value="<?php echo number_format($calc['price'] + $calc['ext'], 2); ?>">
  <input type="hidden" name="return" value="<?php echo get_permalink(149); ?>">
 </form>

 

And i am getting the following error

 

We're sorry, things don't appear to be working at the moment. Please try again later.

 

I tried using currency code from USD to US however I am still getting the error.

 

Any ideas?

 

Thank you

 

Login to Me Too
1 REPLY 1

Quandary
Advisor
Advisor

Just some suggestions:

 

Currency code has to be "USD" and if you're passing a currency symbol in the amount field - that will also cause the error - for example 5000.00 will work, $5,000.00 won't.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.