我在我的應用程序中有一個計劃模型。有時我遇到以下錯誤。重新啓動服務器後,它會消失一段時間。 寶石版本(1.6.0) 如何修復? NoMethodError in Subscriptions#index undefined method `map' for #<PayPal::SDK::REST::DataTypes::PlanList:0x007fbc494c13c0>
Did you mean
我在名爲pp.js的腳本中運行以下代碼。我在我的index.html上運行這個頁面加載測試。我使用最新的webpack模塊捆綁每個源文件。 var paypal = require('paypal-rest-sdk');
var user_config ={
'mode': 'sandbox', //sandbox or live
'client_id': 'x