NikolaGavric94 / laravel-square

Square integration with Laravel/Lumen >=5.5
MIT License
31 stars 23 forks source link

Calling deprecated API: TransactionsApi.charge #26

Closed jesseqli closed 4 years ago

jesseqli commented 5 years ago

I'm running into the issue: Calling deprecated API: TransactionsApi.charge

Any ideas on how to fix?

NikolaGavric94 commented 5 years ago

Hello @jesseqli ,

We are aware of the issue and the fix will be deployed within the next couple of days

NikolaGavric94 commented 5 years ago

Having some issues with Square and their location locking for certain features which actually blocks me from running tests right now and future development, but working on making it happen, will keep you posted!

jessehorne commented 4 years ago

I'm having the same issue.

PaulJulio commented 4 years ago

Submitted a PR: https://github.com/NikolaGavric94/laravel-square/pull/27 If you can't wait for approval, you could update your composer.json file to require square/connect version 2.20190710.0

NikolaGavric94 commented 4 years ago

I will test it out later today (approx. 5-6h from now) and merge the mentioned PR, sorry for the delay

NikolaGavric94 commented 4 years ago

The new release has been deployed, thanks @PaulJulio for a quick fix, I'm looking into the new version of the library which will work with latest versions of Square API, thanks for being patient