xendit / xendit-php

Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services, xenPlatforms
https://developers.xendit.co/api-reference/
MIT License
156 stars 76 forks source link

Update README.md #102

Closed randhipp closed 4 years ago

randhipp commented 4 years ago

On Laravel if you get Non-static method Xendit\QRCode::get() should not be called statically use this method

$qr_code = new \Xendit\QRCode()
$qr_code = $qr_code->get('external_123');
dd($qr_code);
stanleynguyen commented 4 years ago

Hi @randhipp actually this function being non-static is a mistake. It's backlogged here https://github.com/xendit/xendit-php/issues/103 and will be fixed soon. Thanks for raising this PR