Month: August 2025

Probo Configurator WooCommerce Integration

User <script> " rel="text/javascript" > </script> we have this thenthis proxi api public function handle_probo_product_configurator(WP_REST_Request $request) { $baseUrl = 'https://api.proboprints.com'; $token = get_option( 'probo_api_key' ); $method = $request->get_method(); $curl = curl_init(); curl_setopt($curl, CURLOPT_HTTPHEADER, [ 'Accept: application/json', 'Content-Type: application/json', 'Authorization: Basic ' . $token ]); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); if ($method === 'POST') { $body = $request->get_json_params(); […]

Google Wallet Event Tickets

User Google wallet Event tickets generation api in php Assistant To generate **Google Wallet Event Tickets** using the Google Wallet API in **PHP**, you need to follow these steps: — ## ✅ **Overview** Google Wallet uses the **Google Wallet API** (previously known as Google Pay Passes API) to generate event tickets, loyalty cards, etc. For […]

Session caching issue

User add_action( 'init', 'csos_init_session'); function csos_init_session() { if (!session_id()) { session_start(); } } we have added this in our custom plugin to use $_SESSION but get warning from siteground that this prevent from caching Assistant You're getting that warning from SiteGround because `session_start()` disables full page caching — **it forces every page load to be […]

Stripe Tap to Pay Integration

User Okay now I want to integrate strike tap and pay terminal Assistant To integrate **Stripe Tap to Pay** using the **Stripe Terminal SDK** (specifically for Android), you’ll be working with the **Stripe Terminal Android SDK**, **Stripe account with Tap to Pay enabled**, and likely a native bridge if using **Cordova** or **React Native**. Since […]

Git clone with app password

User git clone by appending app password so don't need to verify always Assistant To clone a Git repository using an app password (so you don't have to verify every time), you can embed the username and app password directly in the Git clone URL like this: git clone https://USERNAME:APP_PASSWORD@github.com/USERNAME/REPO_NAME.git ### Example: git clone https://neerajtiwari:ghp_YourAppPasswordHere@github.com/neerajtiwari/my-private-repo.git […]

Stripe checkout integration

User Stripe express checkout integration with dynamic date at checkout page created in html js and php Use all express checkout event like click,confirm,update with name,email and phone required Assistant Got it ✅ — You want a **full working example** of **Stripe Express Checkout** (Google Pay, Apple Pay, etc.) that: – Works with a checkout […]

Fix scroll behavior

User //Don't do autoscroll if this is a pingdom bot if ( $is_pingdom === false ) { ?> //Auto-scroll to the next question if a correct answer was selected (except for the last question) $('.gfield_choice:not(:last) label').on('click', function() { $(this).siblings('input').trigger('click'); //Trigger a click on the input element to force conditional rules to update first var scrollToEl […]

Update shipping on quantity change

User Woocommerce update fragment hook on checkout page for shipping I want to change shipping method when change quantity in checkout page Assistant In WooCommerce, if you want **changing the product quantity on the checkout page** to automatically refresh the **shipping methods** without a manual page reload, you can hook into WooCommerce’s **AJAX fragment refresh […]

Get CF7 shortcode by ID

User get contact form shortcode by contact form 7 id Assistant In Contact Form 7, you can get a form’s shortcode by its ID like this: **Example** If your form ID is `123`, you can directly write: echo do_shortcode(''); If you also want to include the form’s title: echo do_shortcode(''); — **If you want to […]

Add custom gift option

User add option to show custom gift item in cart page and add it via click on checkbox to cart table all using ajax woocommerce Assistant To **add a custom gift item to the cart via a checkbox on the WooCommerce cart page using AJAX**, follow this step-by-step guide. — ### 🧩 Scenario: You want […]