gpt4 book ai didi

Paypal 错误 : "an id of zero was passed to PartyPostalAddressPBImpl::load_by_id"

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

您好,我之前在将自定义购物车表单提交到 Paypal 沙盒网站时一直没有遇到任何问题,但是几天前我开始收到错误消息,导致我无法完成模拟结账流程。

下面的代码演示了提交前由我的代码生成的表单,这似乎与之前没有任何变化并且看起来没有错误。

<form id="BNForm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="peoplesrobotics-facilitator@outlook.com">
<input type="hidden" name="currency_code" value="US">
<input type="hidden" name="handling_cart" value="8.79">
<input type="hidden" name="custom" value="123abc">

<input type="hidden" name="item_name_1" value="Bluetooth Controlled RC Car w/ Phone Control Center">
<input type="hidden" name="amount_1" value="18">
<input type="hidden" name="quantity_1" value="1">

<input type="hidden" name="item_name_2" value="MPU-6050 3-Axis Accel + Gyro Module">
<input type="hidden" name="amount_2" value="4.00">
<input type="hidden" name="quantity_2" value="1">

<input type="hidden" name="item_name_3" value="3.3V SD Card Module">
<input type="hidden" name="amount_3" value="2.50">
<input type="hidden" name="quantity_3" value="1">
</form>

Paypal 网站给我的简短错误消息是:UserException: message 'An id of zero was passed to PartyPostalAddressPBImpl::load_by_id'

Paypal 网站给我的完整错误信息是:

UserException: message 'An id of zero was passed to PartyPostalAddressPBImpl::load_by_id', return code: 3505 Backtrace: PPException::PPException(String const&) User::UserException::UserException(int, String const&) User::PartyPostalAddressPBImpl::load_by_id(unsigned long long) User::AddressPBImpl::load_by_id(unsigned long long, ForUpdate) User::ReputationALIImpl::processReputation(DeprecatedUserShim*, ReputationContainer*, char const*, int, MsgLog2*, DeprecatedUserShim const*) (anonymous namespace)::load_seller_details(PayPalCommonWebAppContext const&, PimpXClick&, unsigned long&, String&, ReputationContainer*) (anonymous namespace)::load_recipient_info(PayPalCommonWebAppContext const&, PimpXClick&, MerchantInfoUbiquityContainer&, CreditCardUbiquityContainer&, TransactionUbiquityContainer&, FlowInfoUbiquityContainer&, PassedParametersUbiquityContainer&, String&, ReputationContainer*, WalletInfoContainer*) Rapids::BusinessBlocks::HostedPayments::load_recipient(PayPalCommonWebAppContext const&, PimpXClick&, MerchantInfoUbiquityContainer&, CreditCardUbiquityContainer&, TransactionUbiquityContainer&, FlowInfoUbiquityContainer&, PassedParametersUbiquityContainer&, String&, WalletInfoContainer*) Rapids::Flows::Unity::DecoratorLoadRecipient::load_recipient_execute(Rapids::CGIVars const&) Rapids::Flows::Unity::DecoratorLoadRecipient::execute(Rapids::CGIVars const&) Rapids::DecoratedState::execute(Rapids::CGIVars const&) Riprap::RiprapRapidsGenericFlow::handle_execute(Riprap::WebAppContextOrnate const&, Rapids::TransitionRegistry const&, Rapids::State*, String const&, String const&, unsigned long long) Riprap::RiprapRapidsGenericFlow::process_states(Riprap::WebAppContextOrnate const&, Riprap::RiprapRapidsGenericFlow::ProcessStates, Riprap::DispatchInterceptorRegistry const&, Rapids::TransitionEdge const*) Riprap::RiprapRapidsGenericFlow::flow_call(Riprap::WebAppContextOrnate const&, Riprap::WebAppReturn const&, String const&, Riprap::DispatchInterceptorRegistry const&) Riprap::call_rapids(Riprap::WebAppContext const&, Riprap::RapidsFlowFactory const&, Riprap::DispatchAction const&, Riprap::WebAppReturn const&, String const&, Riprap::DispatchInterceptorRegistry const&) Riprap::dispatch_loop(Riprap::EPRegistry const&, Riprap::WebAppContext const&, Riprap::DispatchAction&, Riprap::WebAppReturn&, String const&, Riprap::DispatchInterceptorRegistry const&) Riprap::dispatch_wrapper(OutputStream&, Riprap::EPRegistry const&, Riprap::WebAppContext const&, Riprap::WebAppReturn const&, String const&, bool const&, Riprap::DispatchInterceptorRegistry const&) Riprap::entry_point(HTTPInterface&, Riprap::CGIVars&, OutputStream&, String const&, String const&) main

Blockquote

任何有助于解决此问题的帮助都将不胜感激!

最佳答案

事实上,我遇到了完全相同的问题:我的 Paypal 测试正常运行,但突然出现此错误。在我的例子中,使用的电子邮件地址包含下划线。

所以我创建了一个新的沙盒测试帐户,电子邮件地址中没有下划线,它解决了这个问题。

关于 Paypal 错误 : "an id of zero was passed to PartyPostalAddressPBImpl::load_by_id",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37054387/

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