Adaptive paypal to pay multiple paypal accounts at once
Add gem: gem 'paypal-sdk-adaptivepayments' In views: <div class="modal-body"> <%= form_for cart.build_payment, class: "form-horizontal", role: "form" do |f| %> <%= f.hidden_field :cart_id, :value => cart.id %> <% url = "#{baseUrl}/subscriptions/subscription_create?cart_id=#{cart.id}&subscriptions=true" %> <%= f.hidden_field :url, :value => url %> <div class="form-group"> <label class="control-label col-sm-2" for="email">First Name:</label> <div class="col-sm-10"> ...