I’m trying to create a form for an article with an addon (tender). The article is in one-to-one relationship with the addon and the addon can be disabled (null). If the checkbox with an addon is checked, the addon needs to be validated, then submitted together with the article. The issue I’m havin…
Attaching / Sending .ics event via email in php
I am having trouble trying to send an .ics file ‘meeting invitation’ via email. I am using this class to quickly generate the contents of the .ics file: https://gist.github.com/jakebellacera/635416 The content generates correctly but I cannot get it to show as an attachment… so far only as s…
saving card information to stripe and charge customer later
I want my customers to fill the cc information through stripe without charging them initially but i would manually charge them later accordingly to the service i provide them. it is it possible to simply save their card information on the stripe itself so i could manually go and charge them through stripe int…
How to create a stripe invoice without customer id
I’m trying to generate an invoice through stripe but the API requires a Client ID which I have no idea how to retrieve. I’m using Session checkout: method called by ajax $checkout_session = Checkout…
Disable tab on product page if it has no added WooCommerce products
I am using code that displays the Related Products tab on a single product page. // Display a multiselect field in “Linked Products” section add_action( ‘woocommerce_product_options_related’,…
Display bookings date time in Woocommerce admin order list
In Woocommerce with Woocommerce Bookings, I have the following to add the booking details in WooCommerce order preview, below each order item: How to display the booking date and time (not the order date and time) in in the woocommerce admin orders list under the billing_address column? Any help is appreciate…
My cart_item_data isn’t showing up in the order
I’m working on a site that lets a user enter data from a form and have it attached to a product. I was originally using: $cart_item_data [‘Entry Link’] = $formUrl; $woocommerce->cart->…
Support negative values
I’m in a situation where the CSV file is getting rid of the leading zero before my import and I need to be able to account for that. Let’s say that I have my value as the following: -.0982739 -> I …
Symfony 5.1 to 5.2 unit testing do not authenticate via guard authenticator
I ‘m working with Symfony 5.1 using the firewall and a guard authenticator; All was working fine with 5.1. I’ve recently upgrade to Symfony 5.2 and almost all working fine except Unit tests. When i do a step by step debugging, it’s not stepping into the Authenticator anymore like it was the …
Unable to read gzip encoded in using HttpClientInterface in Symfony Project
I’m unable to read gzip encoded response in a Symfony projet. Here is my service : <?php namespace AppService; use SymfonyContractsHttpClientHttpClientInterface; class myApi { private $…