Posts

Showing posts from December 30, 2018

Magento 2 Date Picker with Mindate as another date field's date

Image
0 1 I have 2 date fields in my custom module (Start Date and End Date) and with the below code i can get 2 fields with date pickers. <div class="row"> <label class="control-label">Start Date</label> <input name="start_date" id="start_datepicker" title="Start Date" value="" type="text" > </div> <div class="row"> <label class="control-label">End Date</label> <input name="end_date" id="end_datepicker" title="End Date" value="" type="text" > </div> <script> require([ "jquery", "mage/calendar" ], function ($) { var curdate = new Date();

How to send payment to the customer from Stripe account using API in Rails?

Image
0 One of my client Ruby on Rails project have a functionality of get payment from customer in his stripe account . Now, He needs to pay that payment to the item owner after deducted commission. So, how we can pay from s tripe account to particular customer account using API in Rails? I have checked many API's but not clear which exactly use for it. Any one have a idea or experience in it? Thanks ruby-on-rails stripe-payments strip share | improve this question asked Dec 27 at 13:42 harsh4u 1,407 3 17 35