Feature Request: function for generating idempotency_key #442
Labels
Needs Reporter Feedabck
Issues awaiting for OP feedback
Payment Gateway
Payment gateway code or issues
Proposal
Proposals and proof-of-concepts
The issue:
We have a site using the WooCommerce Square plugin for a payment gateway that utilize the WooCommerce Plugin Framework. There appears to be an issue where the plugin is using function
get_order_with_unique_transaction_ref
fromwc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php
to set it's idempotency_key causing double charging in case of false error responses.Feature Request
We suggest adding a function to the frame work to idempotency_key that can be used by payment gateways that support them such as Square.
The text was updated successfully, but these errors were encountered: