Payload for Vietnamese (VND) currency not working

rde-odoo
Contributor
Contributor

Hello,

It looks like something is going wrong with the VND currency and my payload:

<div>
<input type="hidden" name="data_set" data-action-url="https://www.sandbox.paypal.com/cgi-bin/webscr"/>
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="I removed it for this topic"/>
<input type="hidden" name="item_name" value="YourCompany: SO036-9"/>
<input type="hidden" name="item_number" value="SO036-9"/>
<input type="hidden" name="amount" value="750.0"/>

<input type="hidden" name="currency_code" value="VND"/>
<input type="hidden" name="address1" value="215 Vine St"/>
<input type="hidden" name="city" value="Scranton"/>
<input type="hidden" name="country" value="US"/>
<input type="hidden" name="email" value="I removed it for this topic"/>
<input type="hidden" name="first_name" value="Mitchell"/>
<input type="hidden" name="last_name" value="Admin"/>
<input type="hidden" name="zip" value="18503"/>
<input type="hidden" name="state" value="PA"/>

<input type="hidden" name="return" value="http://localhost:8069/payment/paypal/dpn/"/>
<input type="hidden" name="notify_url" value="http://localhost:8069/payment/paypal/ipn/"/>
<input type="hidden" name="cancel_return" value="http://localhost:8069/payment/paypal/cancel/"/>
</div>


When  'currency_code' is set to 'VND' it lands on paypal error instead of paypal checkout: https://www.sandbox.paypal.com/webapps/shoppingcart/error?flowlogging_id=9efd00b59022a&code=ERROR&mf...

Note that any other currency with the exact same payload will work, see this one with USD:

<div>
<input type="hidden" name="data_set" data-remove-me="" data-action-url="https://www.sandbox.paypal.com/cgi-bin/webscr"/>
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="I removed it for this topic"/>
<input type="hidden" name="item_name" value="YourCompany: SO036-11"/>
<input type="hidden" name="item_number" value="SO036-11"/>
<input type="hidden" name="amount" value="750.0"/>

<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="address1" value="215 Vine St"/>
<input type="hidden" name="city" value="Scranton"/>
<input type="hidden" name="country" value="US"/>
<input type="hidden" name="email" value="I removed it for this topic"/>
<input type="hidden" name="first_name" value="Mitchell"/>
<input type="hidden" name="last_name" value="Admin"/>
<input type="hidden" name="zip" value="18503"/>
<input type="hidden" name="state" value="PA"/>

<input type="hidden" name="return" value="http://localhost:8069/payment/paypal/dpn/"/>
<input type="hidden" name="notify_url" value="http://localhost:8069/payment/paypal/ipn/"/>
<input type="hidden" name="cancel_return" value="http://localhost:8069/payment/paypal/cancel/"/>
</div>

There is only the 'currency_code' param that is changing (and sale order number but it's not revelant).

Is there any limitation for VND currency?
Regards,
Romain

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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