gpt4 book ai didi

android - 在 Android 上的 PayPal 移动支付库上将货币设置为 EUR 时未进入登录屏幕

转载 作者:太空宇宙 更新时间:2023-11-03 16:19:33 24 4
gpt4 key购买 nike

我在 Android 上使用 PayPal 的移动支付库来接受服务付款。但是,将货币设置为 EUR 时,我没有弹出登录屏幕。仅适用于美元。任何人都可能知道为什么?我没有收到任何消息、错误或回调。将不胜感激任何帮助。谢谢

public void PayPalButtonClick(View arg0) {
// Create a basic PayPal payment
PayPalPayment payment = new PayPalPayment();

// Set the currency type
payment.setCurrencyType("EUR");

// Set the recipient for the payment (can be a phone number)
payment.setRecipient("email@email.com");

// Set the payment amount, excluding tax and shipping costs
payment.setSubtotal(new BigDecimal(9999.9));

// Set the payment type--his can be PAYMENT_TYPE_GOODS,
// PAYMENT_TYPE_SERVICE, PAYMENT_TYPE_PERSONAL, or PAYMENT_TYPE_NONE
payment.setPaymentType(PayPal.PAYMENT_TYPE_SERVICE);

// PayPalInvoiceData can contain tax and shipping amounts, and an
// ArrayList of PayPalInvoiceItem that you can fill out.
// These are not required for any transaction.
PayPalInvoiceData invoice = new PayPalInvoiceData();

// Set the tax amount
invoice.setTax(new BigDecimal(99.0));

Intent paypalIntent = PayPal.getInstance().checkout(payment, this);
this.startActivityForResult(paypalIntent, 1);
}

最佳答案

你是对的...使用欧元货币时,每笔交易的默认限额为 8,000.00 欧元

可以查一下here

关于android - 在 Android 上的 PayPal 移动支付库上将货币设置为 EUR 时未进入登录屏幕,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16172674/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com