Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trexle Plugin generate Fatel error in WP #1

Open
manoj11patel opened this issue Jan 28, 2019 · 2 comments
Open

Trexle Plugin generate Fatel error in WP #1

manoj11patel opened this issue Jan 28, 2019 · 2 comments

Comments

@manoj11patel
Copy link

I have integrated it with woo-commerce and found that we have get fatal error on Line Number : 315 from file woocommerce-trexle.php Need to check if variable get or not in response like :

code :

$order->add_order_note(sprintf(__('Trexle Payments error: %s', 'woo_trexle_payments'), $result->error_description));

Should be Like that :

$error_description = (isset($result->error_description)) ? $result->error_description : "";
$order->add_order_note(sprintf(__('Trexle Payments error: %s', 'woo_trexle_payments'), $error_description));
@hossamhossny
Copy link
Contributor

@manoj11patel Thanks, can you make a PR?

@manoj11patel
Copy link
Author

manoj11patel commented Sep 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants