简体   繁体   English

登录后发出的问题,在沙箱贝宝中,“ Spree gem” Braitree Payments沙箱

[英]Issue after Log in, in sandbox paypal, 'Spree gem' Braitree Payments Sandbox

hello every im building an ecommerce site and im using Braintre to payments. 您好,每个即时通讯人员都建立了电子商务网站,并使用Braintre进行付款。 the software versions are: 软件版本为:

  • gem 'spree', '~> 3.2.0' 宝石'spree','〜> 3.2.0'

  • gem 'spree_auth_devise', '~> 3.2.0.beta' gem'spree_auth_devise','〜> 3.2.0.beta'

  • gem 'spree_gateway', '~> 3.2.0.beta' gem'spree_gateway','〜> 3.2.0.beta'

  • gem 'spree_braintree_vzero', github: 'spree-contrib/spree_braintree_vzero' 宝石'spree_braintree_vzero',github:'spree-contrib / spree_braintree_vzero'

all works fine when im log in in the application. 我在应用程序中登录后,一切正常。

but

if im desconnected in the application doesn't work. 如果在应用程序中断开连接的即时通讯不起作用。 for example: 例如:

after i clicked "paypal checkout" button and added the sandbox credentials i got this issue: 在我单击“贝宝付款”按钮并添加了沙盒凭据后,我遇到了以下问题:

Routing Error
No route matches [GET] "/checkout/registration.action=edit&controller=spree%252Fcheckout&paypal_email=comprador-programmer%2540codigo.com&state=address"

i think the easiest solution is remove the button in the url: localhost:3000/cart, because if i remove the button in that url i have to log in before to add the sandbox credentials. 我认为最简单的解决方案是删除网址中的按钮:localhost:3000 / cart,因为如果删除该网址中的按钮,则必须先登录才能添加沙箱凭据。

but the question is how? 但问题是如何?

thanks a lot i hope your answer my friends 非常感谢,我希望你的回答我的朋友们

只需去编辑PayPal(凭证所在的位置),向下滚动到高级设置,单击它以打开面板,然后将PAYPAL DISPLAY ON CART:DISABLED

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM