Sharetribe Open source and Paypal
Ameka
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-09-2018
09:25 PM
Hi,
I am trying sharetribe open source and paypal integration.
I could enable paypal sandbox payment on my local machine.
However I am not able to get it worked on AWS.
I am getting Internal Server Error for the call ( Initial Account setup request )
PaypalService::API::DataTypes.create_create_account_request
Error as follows
NoMethodError in Admin::PaypalPreferencesController#account_create undefined method `data' for #<Hash:0x007f218d7d93c0> Extracted source (around line #18): #16 country: community_country_code #17 })) *18 permissions_url = response.data[:redirect_url] #19 if permissions_url.blank? #20 flash[:error] = t("paypal_accounts.new.could_not_fetch_redirect_url") #21 return redirect_to admin_payment_preferences_path Extracted source (around line #4): #2 module BasicImplicitRender # :nodoc: #3 def send_action(method, *args) *4 super.tap { default_render unless performed? } #5 end #6 #7 def default_render(*args) Extracted source (around line #186): #184 # which is *not* necessarily the same as the action name. #185 def process_action(method_name, *args) *186 send_action(method_name, *args) #187 end #188 #189 # Actually call the method associated with the action. Override Rails.root: /home/ubuntu/MyGear/sharetribe Application Trace app/controllers/admin/paypal_preferences_controller.rb:18:in `account_create' lib/jsroutes_middleware.rb:48:in `call' lib/rack_middleware/session_context_middleware.rb:15:in `call' lib/rack_middleware/marketplace_lookup.rb:33:in `call' lib/rack_middleware/custom_cookie_renamer.rb:11:in `call' lib/rack_middleware/enforce_ssl.rb:23:in `call' lib/rack_middleware/health_check.rb:12:in `call'
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Advance checkout in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Help with error saying API call is initiated is not allowed to vault the given source. in REST APIs
- CHECKOUT.ORDER.APPROVED webhook event not triggered if payment_source is passed in in REST APIs