code: public function placeTransaction($gateway, $transactionId, $detail = null, $token = null)
      {
          return call_user_func(Config::get('shop.transaction') . '::create', [
              'order_id'          => $this->attributes['id'],
              'gateway'           => $gateway,
              'transaction_id'    => $transactionId,
              'detail'            => $detail,
              'token'             => $token,
          ]);
      }
docs: Creates the order's transaction.
  
  @param string $gateway       Gateway.
  @param mixed  $transactionId Transaction ID.
  @param string $detail        Transaction detail.
  
  @return object