Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

38 Excellent

About creativejay

  • Rank
    Distinguished Member

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

3,740 profile views
  1. I didn't realize it was that out of date (I tend to trust any module of Ryan's). I will upgrade to the Pro. Thanks for weighing in, everyone!
  2. The email and password fields are required, but I don't see a way to require other fields when I add them to the module in Modules > Configure > LoginRegister. The site I'm working on uses LoginRegister as a first step in the checkout process with PadLoper and if they create the account with this info, it will autoload in the checkout process. PadLoper doesn't save the data entered to the User's page, so it seems simpler to require it during registration with Login/Register/Profile. This seems like it should be simple. The fields are required in the user template but that doesn't seem to affect anything.
  3. That's correct. My thread was moved out of the module-specific forum. I think because the moderator believed I was talking about the Core Password reset module—which I'm not naming so as not to provide search hits.
  4. I also have trouble with the registration code failing to send in many instances. Is there a way to disable the email confirmation and just have them type their email twice?
  5. Hi Dean, Hopefully you've already found the answer, but you need to also visit Modules > Configure > LoginRegister and add those new user fields to "Registration form fields" so they display during registration.
  6. Bumping this thread, as the issue is still occurring. (Or rather, not occurring, as described in original post.) Thanks!
  7. I have set up Login/Register on our site but the "Forgot Password?" feature, in all reported cases and all my own tests, does not send a link to the user. Is this a known issue with a simple solution (I hope)? L/R version 0.0.2 and Processwire version 3.0.148
  8. The timing on this update saved me tons of work, thanks @ryan! I'm using the guide to importing users from page 3 of this topic, but I am having no luck pulling the roles in. How should I format these in my csv? I tried spelling out the name of the roles as well as using the ids, with and without spaces inside the quotes. EDITED for solution: within the "", each role name is spelled out on its own line, so: "guest login-register team-member download"
  9. Can also confirm that the latest version affects email addresses entered in a FormBuilder field, so the visitor gets an "Invalid content" error but can't see any reason why they should.
  10. I wasn't able to correct it, but the website had to launch so I uninstalled the Module and am using the direct API for Snipcart in the php templates and their dashboard for managing orders. Before I uninstalled, I couldn't find a single logged error anywhere.
  11. I have another issue to report. When I: use "+ Add New" buttons to add a new page with my product template (as children of any of the three allowed parent templates) enter the page Title on the admin /page/add/ hit Save I get the error "New page '/page/path/' must be saved before files can be accessed from it" If I uninstall SnipWire, the error message goes away. The product templates are my own, not the default SnipWire templates.
  12. Thanks for your attention on those hookable methods, Gadgetto. Those will definitely be necessary for launching this site (the subscription pause button will get us in a lot of trouble otherwise!) Another item for the list: when a user role with snipwire-dashboard permissions clicks on the additional tabs (Orders, Subscriptions, Abandoned Carts, Customers, Products, Discounts) within the Dashboard, they reach the 404 page instead.
  13. Just heard from SnipCart support that subscription events only fire in live mode. I’ll change the hook to order completed for testing.
  14. Ah, thanks! Now... Could I please get some help with the hook? I've written the following (site/ready.php) but see nothing in the logs and no email arrives I suspect I'm starting wrong in how I retrieve the SnipWire/SnipCart order data SnipCart is currently in TEST mode I've confirmed the SMTP settings in the WireMail SMTP module configuration I'm operating on the assumption that the $event returned for this Hook contains the subscription information as shown on: https://docs.snipcart.com/v2/webhooks/subscription-events $wire->addHookAfter('SnipWire::handleSubscriptionCreated', function($event) { $snip_input = $event->arguments(0); $event_json = json_decode($snip_input); $mail = $wire->modules('WireMailSmtp'); // calling WireMail SMTP to send a notification since SnipCart doesn't $clientEmail = $snip_input->getChildByName('user')->email->value; // Fetching customer's email $clientName = $snip_input->getChildByName('user')->fullName->value; // Fetching customer's Full Name $products = $snip_input->getChildByName('items'); // Fetching an array of the items in the cart foreach($products as $p) { // For each product in the cart, we send the corresponding coach an email $coach = $p->getChildByName('Coach')->value; // The coach selected at checkout $kvcoach = $wire->pages->get("title=$coach"); // Coach will have a matching page on the site $coachEmail = $kvcoach->email; // get email from that page's fields $to = array('user@domain.com'); // including the admin (me) in the TO for testing array_push($to,$coachEmail); // add coach's email to array $cart = $p->getChildByName('name'); // product name from this order item try { $body = $coach . ", you have a new client! " . $clientName . " (". $clientEmail.") has subscribed to: " . $cart . "<br /><br />" . "<pre>" . var_export($event_json, true) . "</pre>"; $subject = $clientName . " (". $clientEmail.") has signed up for ". $cart; $mail->to($to); $mail->from('no-reply@domain.com'); $mail->subject($subject); $mail->bodyHTML($body); $mail->send(); } catch (\Exception $e) { $error = "Email not sent: " . $e->getMessage(); $mail->log($error); } } });
  15. Has anyone here worked with SnipCart's webhooks yet? I can't find an example in their docs of a fully formed webhook file, nor am I quite sure how I would imitate their examples along with the PW API to call things so I don't have to manually enter every product, for example. Their webhook examples also seem to contain hardcoded info that should be drawn from the session? I'm trying to set up both gift cards, and extra notifications for subscription events. https://snipcart.com/blog/creating-a-gift-card-application-with-snipcart-php https://docs.snipcart.com/v2/webhooks/subscription-events
  • Create New...