开发者 |
krokedil
niklashogefjord |
---|---|
更新时间 | 2016年3月19日 07:21 |
PHP版本: | 4.2 及以上 |
WordPress版本: | 4.4.2 |
版权: | GPL2+ |
版权网址: | 版权信息 |
nodefactory-woocommerce-api-extension
to the /wp-content/plugins/
directoryTo be able to send the transaction number from the payment service provider to Sharespine & Plugboard (in a view order API request - https://woothemes.github.io/woocommerce-rest-api-docs/#view-an-order), the transaction number needs to be stored in the order as a Post Meta field with the name _transaction_id.
This can be accomplished by a payment module when the order status of an order in WooCommerce is set to Processing (upon payment of the order) like this:
$order->payment_complete( $psp_transaction_number );
The following payment gateways are supported and doesn't need any modification or updates.