-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Needs Reporter FeedabckIssues awaiting for OP feedbackIssues awaiting for OP feedbackPayment GatewayPayment gateway code or issuesPayment gateway code or issuesProposalProposals and proof-of-conceptsProposals and proof-of-concepts
Description
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 from wc-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.
Metadata
Metadata
Assignees
Labels
Needs Reporter FeedabckIssues awaiting for OP feedbackIssues awaiting for OP feedbackPayment GatewayPayment gateway code or issuesPayment gateway code or issuesProposalProposals and proof-of-conceptsProposals and proof-of-concepts