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

Issue with gift cards #127

Open
loueranta-paytrail opened this issue Jan 11, 2024 · 4 comments
Open

Issue with gift cards #127

loueranta-paytrail opened this issue Jan 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@loueranta-paytrail
Copy link
Collaborator

Full details and discussion here:
https://wordpress.org/support/topic/issue-with-gift-cards/

@loueranta-paytrail loueranta-paytrail added the bug Something isn't working label Jan 11, 2024
@chrisgan chrisgan self-assigned this Feb 1, 2024
@karmivartio
Copy link

We have same problems with several clients, please increase this priority.

@jussipvainionpaa
Copy link

We have same problems with several clients, please increase this priority.

I switched to Markup.fi Paytrail extension. It's free also and it works with some of the biggest gift card extensions: https://markup.fi/products/woocommerce-paytrail/

Just tested and worked fine with PW Gift Cards

@chrisgan chrisgan removed their assignment Feb 29, 2024
@artio-fi
Copy link

Same problem with Gift Up plugin (2.23 version). Only some prices and gift card combinations cause this error.

[18-Sep-2024 12:24:02 UTC] PHP Fatal error:  Uncaught Error: Call to a member function setUnitPrice() on null in wp-content/plugins/paytrail-for-woocommerce/src/Gateway.php:1522
Stack trace:
#0 wp-content/plugins/paytrail-for-woocommerce/src/Gateway.php(1512): Paytrail\WooCommercePaymentGateway\Gateway->fix_rounding_error()
#1 wp-content/plugins/paytrail-for-woocommerce/src/Gateway.php(1456): Paytrail\WooCommercePaymentGateway\Gateway->get_order_items()
#2 wp-content/plugins/paytrail-for-woocommerce/src/Gateway.php(1160): Paytrail\WooCommercePaymentGateway\Gateway->set_base_payment_data()
#3 wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1062): Paytrail\WooCommercePaymentGateway\Gateway->process_payment()

@kotivuori
Copy link
Collaborator

Thanks for reporting @artio-fi. We will take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants