Qual alteração no código ...valor e moeda.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Qual alteração no código ...valor e moeda.
Prezados como eu posso adiconar ao código a opção do usários adicionar o preço que deseja pagar, e exibir a opcao de mudança de moeda em Dolar e Euro.
EX: exibir uma cx de texto em que o usuario esscreve o valor a ser pago.
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init( {
apikey: ",
paymentRequest:{
currencyCode: "USD",
subtotal: "5.000,00"
}
});
V.on("payment.success", function(payment)
{alert(JSON.stringify(payment)); });
V.on("payment.cancel", function(payment)
{alert(JSON.stringify(payment)); });
V.on("payment.error", function(payment, error)
{alert(JSON.stringify(error)); });
}
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Qual alteração no código ...valor e moeda.
Hi @AdrianaONG,
I will work on finding an answer for you and get back to you soon!
Thanks,
Diana
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Qual alteração no código ...valor e moeda.
Hi @AdrianaONG,
Please send this query via email to developer@visa.com. There is some information that we will need you to provide and someone will be able to connect you to the Visa Checkout team.