Tag: 运输

Active_shipping Fedex API身份validation错误

我正在我的应用中实现aсtive_shipping插件function。 我有来自fedex的测试帐户并试图获得一些运费,如插件的自述文件中所示: fedex = FedEx.new(:login => ‘***’, :password => ‘***’, :key => ‘***’, :account => ‘510087569’, :meter => ‘100054531’) response = fedex.find_rates(origin, destination, packages) 此请求导致错误: ActiveMerchant::Shipping::ResponseError (ERROR – 1000: Authentication Failed) 此外,我对所有API密钥(DHL,UPS等)感到困惑。 我是否可以为每个运营商在不同的应用程序中使用相同的帐户密钥,还是应该为每个应用程

使用Ruby on Rails集成Shipping

在我的购物车中包含运费报价的最佳方法是什么? 我的网站的基本流程是 1.) User selects products 2.) User is shown cart 3.) repeat 1 and 2 until User wants to pay 4.) collect user details ( email, address where items will be shipped to ) 5.) make payment via active merchant 6.) order is submitted to distributor. 我想插入运送信息,以便用户可以通过活跃的商家支付他的购买+运费。 1.) User selects products 2.) User is […]