bigcommerce-api-php
bigcommerce-api-php copied to clipboard
Order Transactions
Expected behavior
I would expect to be able to retrieve an order's transaction details.
See: https://developer.bigcommerce.com/api-reference/orders/orders-transactions-api
Actual behavior
Call to undefined method Bigcommerce\Api\Resources\Order::getTransactions()
Steps to reproduce behavior
$order = Bigcommerce\Api\Client::getOrder();
$transactions = $order->getTransactions();
Hey @travisfisher , this client is configured for v2 API requests only (although this is something we want to address in the near future). Order Transactions is a v3 endpoint and not supported by this client. These are all of the resources you can access currently: https://github.com/bigcommerce/bigcommerce-api-php/tree/master/src/Bigcommerce/Api/Resources
Thanks for opening the issue, and pull requests are welcome if this is something you're interested in contributing to :)