From ac35335e8d1c3251786eac17a0796074632c402a Mon Sep 17 00:00:00 2001 From: Adam Sturrock Date: Tue, 26 Jan 2016 11:05:45 +0000 Subject: [PATCH] transactions use ID not slug --- src/Facade/Transaction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Facade/Transaction.php b/src/Facade/Transaction.php index 92592a5..6ed3a7d 100644 --- a/src/Facade/Transaction.php +++ b/src/Facade/Transaction.php @@ -29,9 +29,9 @@ public static function init(\Moltin\SDK\SDK $sdk) self::$sdk = $sdk; } - public static function Get($slug) + public static function Get($id) { - return self::$sdk->get('transactions/'.$slug); + return self::$sdk->get('transactions/'.$id); } public static function Listing($terms = array())