KoolPal
Forum Replies Created
-
@angelleyesupport Let me try to insert a screenshot from PayPal page to show this.
The customer is shown an option to uncheck “Send to my billing address” and after that he can change his shipping country.
This would mess up my entire shipping process.
- This reply was modified 6 years, 5 months ago by KoolPal.
- This reply was modified 6 years, 5 months ago by KoolPal.
- This reply was modified 6 years, 5 months ago by Jan Dembowski.
So my original question remains. If this is configuration issue what changes do I need to do?
I have followed your guide as mentioned above.
Thank you for responding.
I am not sure I have understood your response.
Secondly the url you have pasted seems to be a copy-paste of my url apart from the original domain name
https://theproductionarea.net/
How can you manage to get the same order number / invoice id in your url?Please review.
I would appreciate if you could provide steps for resolution, in case I have made some error in setup.
Thanks.
Hi,
Thanks for replying. I just updated the plugin after your latest update.
I still get the 403 error and the URL I see is as below:
https://vals.ventures/vv/?wc-api=WC_Gateway_NM_TwoCheckout&middle_initial=&li_0_name=Order+215+-+Beanie+with+Logo+(Product+SKU%3A+156)&sid=901391670&key=8F8754EB5AFC678233EE906FB17161F0&state=&email=SatyadevKini%40yahoo.com&li_0_type=product&order_number=9093745543638¤cy_code=GBP&lang=en&invoice_id=9093745543647&li_0_price=18.00&total=18.00&credit_card_processed=Y&zip=W1A+1AA&li_0_quantity=1&cart_weight=0&fixed=Y&last_name=Pal&li_0_product_id=Woo-beanie-logo&street_address=Street&city=London&li_0_tangible=N&company=&li_0_description=&merchant_order_id=215&country=GBR&ip_country=India&demo=N&pay_method=CC&cart_tangible=N&phone=1234567890+&street_address2=Apartment&x_receipt_link_url=http%3A%2F%2Fvals.ventures%2Fvv%2F%3Fwc-api%3DWC_Gateway_NM_TwoCheckout&first_name=Kool&card_holder_name=Kool+Pal&wc-api=WC_Gateway_NM_TwoCheckout
This is my test site so I am ok to share this information
Forum: Plugins
In reply to: [Lead info with country for Contact Form 7] Undefined variable: trackingInfoHi @apasionados,
Sorry for the delayed reply. I was travelling.
My PHP Version is 7.0.10
I tested by inserting
$trackingInfo = '';
at line 75 and this error seems to have stopped.I shall keep testing and let you in case it recurs!
Thank you for the fantastic work!
Cheers!
@yehudah Thanks. Waiting for the plugin update here for updation in my website. This repository still shows Version:1.7.10, Last updated: 2 days ago which I have.
Some guidance / assistance would be highly appreciated.
ThanksForum: Plugins
In reply to: [WooCommerce] Get country name in Admin Edit Order Page from customer IPAnybody?
Forum: Plugins
In reply to: [WooCommerce] Show full country name in Checkout errorAwesome @eljkmw! Your revised changes worked since I am using the standard error messages!
I am copying the complete code here in case anybody else would need it!
// Convert error message of ISO 2 country code into country name function wc_error_convert_country_code( $message ) { $line1 = 'Unfortunately <strong>we do not ship to '; // first half of the message $line2 = '</strong>. Please enter an alternative shipping address.'; // second half of the message // find $line1 sub-string in $message string $pos = strpos( $message, $line1 ); // get position of sub-string if ( $pos !== false ) { // Does $line1 has ' the' append to it ? if ( strpos( $message, ' the', $pos ) !== false ) { $country_code2 = substr( $message, strlen( $line1 )+4, 2 ); // reads ISO 2 country code $country_name = WC()->countries->countries[ $country_code2 ]; // converts to full country name $message = $line1 . ' the ' . $country_name . $line2; } else { $country_code2 = substr( $message, strlen( $line1 ), 2 ); // reads ISO 2 country code $country_name = WC()->countries->countries[ $country_code2 ]; // converts to full country name $message = $line1 . $country_name . $line2; } } return $message; } add_filter( 'woocommerce_add_error', 'wc_error_convert_country_code' );
God bless you @eljkmw!
Hi Steven @rsm-support,
Thanks for the response. I am currently testing this on local dev setup and since website url is mandatory I mentioned as 127.0.0.1
I saw your email. I have replied to the same now.
Thanks.
- This reply was modified 7 years, 6 months ago by KoolPal. Reason: Updated basis email received
Hi @rsm-support,
I tried logging the query there. I am getting the message: That action is currently not allowed.
Please assist.
Thanks.
Forum: Plugins
In reply to: [WooCommerce] Change location of Woocommere store noticeTry playing with this in custom.css
/* Change Store Notice to bottom */ .demo_store { background-color: #3d9cd2; bottom: 0px; /* Changing the value to 0 will make it sticky at the bottom */ color: #fff; left: 0; margin: 0; padding: 1em 1.41575em; /*padding: 1em0;*/ text-align: center; position: fixed; right: 0; color: #fff; z-index: 999; }
Forum: Plugins
In reply to: [WooCommerce] New Account email – Insert First NameOK! I found the solution.
First I learnt that first name & last name is not stored in wp_users but in wp_usermeta
Next I learnt (painfully – no decent WordPress documentation anywhere!) was that user metadata is not saved at the point when the “new user registration” email is sent!! (I am not sure of the logic to be in a hurry to shoot of this email without saving all data first!)
Since I did not want to mess with WP Core, I used the below snippet to populate display_name with First Name (space) Last Name and then use this in the Welcome email.
add_filter('pre_user_display_name','default_display_name'); function default_display_name($name) { if ( isset( $_POST['billing_first_name'] ) ) { $firstname = sanitize_text_field( $_POST['billing_first_name'] ); } if ( isset( $_POST['billing_last_name'] ) ) { $lastname = sanitize_text_field( $_POST['billing_last_name'] ); } $name = $firstname . ' ' . $lastname; return $name; }
In case you want to store only the first name in display_name, change the line above:
$name = $firstname . ' ' . $lastname;
to
$name = $firstname;
Next I added the below line in the customer-new-account.php
<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <!-- Added by me--> <p><?php printf( __( "Hello %s,", 'woocommerce' ), $user->display_name ); ?></p>
And we finally have a decent welcome mail addressed to the customer!
P.S. I am marking this as solved since this has solved the issue for me. The team monitoring this forum can take the credit for ‘solving’ another thread!
Forum: Plugins
In reply to: [WooCommerce] New Account email – Insert First NameHating to bump this but some guidance would be appreciated!
Thanks
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] List of all short-codesThanks a ton for this detailed response Don. I am sure this would help a lot of fresh installers too.
Let me try all of the options based on the details shared by you. Will ty not to bother you often ??
Really appreciate your effort in all this.
God bless.