enngins
Forum Replies Created
-
Oh, I didn’t saw this. Thank you!
Hi @mbrsolution,
I found a solution. There was problem in PayPal settings. I used Business type PayPal account for sandbox. For PayPal Pro module, it require to use Business-Pro.https://developer.paypal.com/developer/accounts/ | view / edit account | Upgrade to Pro
Thanks!
Hi @easypayment,
Thanks a lot, it works perfect.
All good to you ??So, I found a temporary solution. I just deregister my jquery on the pages with lightboxes. I’m lucky there’s no need for that.
Deregistering is with function file, based on template type of pages. Maybe someone will need the code.. just paste it into the end of your enqueue scripts function:
// Deregister custom JQuery on product pages if(is_page()){ //Check if we are viewing a page global $wp_query; //Check which template is assigned to current page we are looking at $template_name = get_post_meta( $wp_query->post->ID, '_wp_page_template', true ); if($template_name == 'YOUR TEMPLATE NAME'){ //If page is using lightbox we desable our jquery. wp_deregister_script( 'SHORT OF YOUR SCRIPT' ); } }
But the question remain open… It’s just a temporary solution and I hope there’s an more correct way to solve this issue.
Thanks!