form error DOP

alebalweb
Contributor
Contributor

Why should this:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<p style="text-align:center;">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="here my mail">
<input type="hidden" name="return" value="https://www.alebalweb.com/demo/hotel/booking/paypal_accettato.php">
<input type="hidden" name="cancel_return" value="https://www.alebalweb.com/demo/hotel/booking/paypal_rifiutato.php">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="item_name" value="Prenotazione ID #6 - Article Booking | Demo">
<input type="hidden" name="item_number" value="6">
<input type="hidden" name="amount" value="316145.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="Ic" value="IT">
<input type="hidden" name="currency_code" value="DOP">
<input type="hidden" name="cpp_header_image" value="https://www.alebalweb.com/demo/hotel/logo.png">
<input type="image" src="https://www.alebalweb.com/demo/hotel/images/btn_buynowCC_LG.gif" name="submit" alt="PayPal">
<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</p>
</form>

 

Cause this: https://www.paypal.com/webapps/shoppingcart/error?flowlogging_id=f530493965f11[Removed. Phone #s not...

error.jpg

 

Cause of DOP? (Dominican Republic pesos)

I tried many times, i always see the error...

 

P.s. "here my mail" was my mail, but looks like i can't post it here...

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @alebalweb,

 

Thank you for posting to the PayPal community.

 

Yes, this should be an issue with the "currency_code" value passed as "DOP". 

 

"currency_code" value passed as "DOP" is not listed in the currencies supported by PayPal.

 

I would suggest to please update the currency_code value listed in the below guide link. 

 

https://developer.paypal.com/api/nvp-soap/currency-codes/#paypal

 

currency_codeOptional

The currency of the payment. Default is USD.

For valid values, see Currencies Supported by PayPal.

 

https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta... 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.