eyadtab
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Add Afterpay supportHello,
Thank you for your respond.
So I am here talking about the afterpay or what is known as clearpay provided from stripe not from it’s own payment gateway, please see the links below with the details about it from stripe.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods
Thank you for your time
- This reply was modified 1 year, 11 months ago by eyadtab.
Thank you for the respond.
I was able to do that by creating a new shortcode
function test_shortcode( $shortcode_list, $yaymail_informations, $args= array() ) { if (isset ($args['order'])){ $order = $args['order']; $order_id = $order->get_id(); $order = wc_get_order($order_id); $output = '<table class="table"><thead><tr><th>Item</th><th>Description</th><th>Qty Ord.</th></tr></thead><tbody>'; foreach($order->get_items() as $item) { $product = $item->get_product(); $sku = $product->get_sku(); $quantity = $item->get_quantity(); $price = $item->get_total(); $email_order_desc = $product->get_meta('email_order_desc'); $output .= '<tr><td>' . $sku . '</td><td>' . $email_order_desc . '</td><td>' . $quantity . '</td></tr>'; } $output .= '</tbody></table>'; return $output; } return 'Unable to find order'; } add_filter( 'yaymail_customs_shortcode', function($shortcode_list, $yaymail_informations, $args=array()){ $shortcode_list['[yaymail_custom_shortcode_test]'] = test_shortcode($shortcode_list, $yaymail_informations, $args); return $shortcode_list; },10, 3);
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Issue with paypal setupI was able to fix this issue by clicking on clear data button.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Stats not working alwaysIt turn out that the issue is with litespeed plugin
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Stats not working alwaysIs there any way you can let me know the code that i need to look for in the source code?
Forum: Networking WordPress
In reply to: redirect loop issueThanks for your respond, I was able to fix this issue by adding $_SERVER[‘HTTPS’]=’on’; to wp-config file
Forum: Networking WordPress
In reply to: redirect loop issueWhen i have used better search replace it did some changes and then the site get into redirect loop so i had to change the url back from https to http in the site address URL.
No I don’t use any redirect plugin.
Here is the htacess file content# BEGIN WordPress Multisite # Using subdomain network type: https://www.ads-software.com/support/article/htaccess/#multisite RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress Multisite # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php71” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php71 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
Forum: Plugins
In reply to: [WooCommerce] woocommerce error message regarding is_read and nonce_actionHi @rainfallnixfig,
Thanks for the quick reply, I actually don’t have that plugin installed, not sure then why those error showing. how can we prevent this error in this case?