Skip to content

Adding WooPayments transaction id (txn_xxxx) into order meta #7856

Closed
@geektzu

Description

Description

Currently, the WooPayment intent id is added to the order meta. When a merchant is integrated to NetSuite the payment intend id could be synchronized with the orders to NetSuite. However, the transaction id is not included as part of the order meta. It posts a challenge for a merchant who uses NetSuite for transaction reconciliation. They can get transaction ids (txn_xxxx) from the "Payments" -> "Transactions", however, txn_xxx were not synchronized over to NetSuite.

Acceptance criteria

Add a new meta field to register WooPayments transaction id. So a NetSuite connector such as In8Sync can pick and synchronize to NetSuite.

Designs

No UI required

Testing instructions

  1. A new meta field must be present in Woo order after a payment is charged via WooPayments.
  2. Use the Store Toolkit plug to inspect the order meta for transaction id (txn_xxxxxx). Go to WooCommerce -> Orders.

Dev notes

Additional context

P2: https://wp.me/pcJe93-3R9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

category: coreWC Payments core related issues, where it’s obvious.component: transactionsIssues related to Transactionspriority: mediumThe issue/PR is medium priority—non-critical functionality loss, minimal effect on usabilitytype: enhancementThe issue is a request for an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions