Jump to content
Larry Ullman's Book Forums

mmichals

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mmichals

  • Rank
    Newbie
  1. Yes, please. I'd like to add Summernote to my textareas and I'm just trying to figure out the best way to protect against code injection, etc...
  2. In my Stripe Dashboard it says my API version is out of date. What is required to upgrade to the latest version of the API? It's great that Stripe outlines all changes since you start using the API. But how do I know what changes need to be made? Do you have any errata to make the previous code still work but upgrade to the latest version of the API at the same time?
  3. In my case it's for a real estate website, so I added a column "active". This will allow me to track which properties users are adding as a favorite and then removing that same property. It also allows me to reach out to buyers and see what they like and dislike. In the users dashboard this will be helpful for the user to re-activate any favorites he may have removed by mistake. Thanks for your quick responses, Larry. Always appreciated. So when are you writing a book about using Stripe's Connect platform? I want to get my head around that next
  4. OK, Larry. I've never used the network tools in the browser. What are they? How do I use them on Chrome? I'm assuming Internet Explorer is probably not as good for this? There was an error in the ajax/favorites.php script. My hosting provider does not allow REPLACE queries. So I had to change the code to an INSERT query.
  5. I tried to implement the code in Chapter 14 for adding favorites and it's not working. How can I see what the problem is considering it's using an AJAX call?
  6. It's great that Stripe have created a solution for this use case scenario! I think I can do this. Thanks again, Larry! You're the boss!!!
  7. Okay, so that will allow me to capture the token from the Customer object when performing the initial single charge and then use that same token to start a subscription at a later point in time (more than 7 days after initial credit card charge) without asking the customer for the credit card info all over again? So how do I capture the Customer object's token using your single charge script? Do I get that info back from the Stripe server as part of the response to your single charge script? Or do I have to make a separate call to Stripe's server after we receive the initial token confir
  8. Do you know of any good books out there that cover this subject matter, as well as, Stripe Connect for a different website?
  9. I should say the Stripe token, not charge ID. Or is it maybe that I should be using the charge ID? I don't know how to make this work. Can I make a call to the Stripe server to charge the same customer to start a Stripe subscription? What calls would I need to make? I'm sure there's a way to do this. I need to get the site up and running asap. Thanks, Larry!
  10. I have a for-sale-by-owner real estate website that I want to charge a monthly listing subscription fee to keep a property listing active. But I also need to pre-sell my monthly subscription service to customers so that I don't lose business to my competitors ahead of the Spring/Summer home selling market. Thanks to your wonderful book, I have the single Stripe charges working successfully. So I'm basically charging the customer for their first months' subscription upfront without knowing when the customer will actually initialize their property listing in the coming weeks or months (note
  11. I have a contact form on my site. I'm using the book's methods to validate POST data from a textarea input field called "contact_info". if ($_SERVER['REQUEST_METHOD'] == 'POST') { ... if (empty($_POST['contact_info'])) { $contact_errors['contact_info'] = 'Please enter a comment.'; } elseif (preg_match('/^[A-Za-z0-9.,-$?!]*$/', $_POST['contact_info'])) { $_POST['contact_info'] = str_replace(' ','',$_POST['contact_info']); //remove all spaces $_POST['contact_info'] = trim($_POST['contact_info']); //remove any space before or after any characters $_POST['contact_i
  12. Hi Larry, I don't see the Stripe folder you are referring to in the book when I go to the stripe-php/lib/ folder of the downloaded . So what files do I need to copy to my website's directory to make everything work? Michal
×
×
  • Create New...