Simon Kiteley PRO
Joined 10/25/2016
Simon Kiteley PRO said over 5 years ago on Ecommerce Store with Solidus :
Thanks for this. I have an example all set up but can't see how to get confirmation emails sent to the purchaser. Are ideas?

Simon Kiteley PRO said over 5 years ago on Creating a Gem From Existing Code :
Thanks for this. I think it might and been in response to my request so thank you. Having one issue in that I have a bit of code: ```
``` Where when the cursor exits the field the form is submitted by javascript (I also added a submit button and still have the issue) however it does not seem to be recognising the "remote: true". Any Ideas?

Simon Kiteley PRO said over 5 years ago on Creating a Gem From Existing Code :
Hi. Sorry for not being clear. My script is: ``` $("#question- .autosave input").blur(function() { // alert('----1----'); $("#question- .autosave form").submit(); // alert('----2----'); }); ``` And that seems to be working well. What is happening in the gem I have created but not the application I copied it from is that the "remote: true" on the form is being ignored and doing a 'normal' submit of the form. So: ``` ``` is behaving as if it was: ``` ``` Yes, it is quite cool in the original code I wrote as you get little save icon to show your changes have been saved etc. The code I am trying to put in a gem is a bit like SurveyMonkey on steroids. I guess is some way it is not 'attaching' the script to the remote bit. In the test/dummy I have: ```

First name:

Last name:

|
``` Which includes the questionnaire for the user. So probably something missing in the application.js: ``` //= require jquery //= require rails-ujs //= require activestorage //= require_tree . ```

Simon Kiteley PRO said about 5 years ago on 3D Secure 2 Credit Cards and Stripe Checkout :
Very helpful episode! Have you worked out how to add tax "default_tax_rates" when you create a session?

Simon Kiteley PRO said about 5 years ago on 3D Secure 2 Credit Cards and Stripe Checkout :
Have you tried adding a new or replacement card to an existing customer? The Session in 'setup' mode could collect the card details however wonder if taking the payment from one customer and adding it to another would be allowed.