Comments (5)
Hi Sean, do you have a payment_id
where it's not present? Technically it is required, so if a payment is not returning it, that sounds like a bug to me, so I can pass it to the owning team to fix.
from square-php-sdk.
PaymentID: nyN8roNxjCJAIQQfalCrKQB
"external_details": {
"type": "CARD"
},
We have dozens of transactions that respond in this way.
from square-php-sdk.
Thanks for sharing. I think I followed up on Slack, but didn't follow up here. To confirm, it sounds like this payment (and probably the others) are "other" payments taken well before Payments API supported it, and thus they do not have a source. Work is being done to add a source to these to prevent this exception from occurring.
from square-php-sdk.
@StephenJosey do you know if a fix for this has gone through?
from square-php-sdk.
This has in fact been fixed, and exists on the payment now as sourceType
https://github.com/square/square-php-sdk/blob/master/doc/models/payment.md
Please feel free to reopen if there are further questions!
from square-php-sdk.
Related Issues (20)
- when uploading image it is adding image/jpeg for Content-Type ? HOT 4
- this sdk is the worst api i've ever worked with HOT 1
- PHP8.2 HOT 4
- difference in api explorer and sdk for creating a device code with product type set HOT 2
- 415 Unsupported Media Type while trying to use getInvoice HOT 2
- Order type and sources should be cleaned up HOT 4
- "failed to open stream: No such file or directory" in error in JsonMapper.php file. HOT 4
- Singular name, should be plural? HOT 2
- Fatal error when `php_uname()` is disabled for security reasons. HOT 6
- Currency is not mapped in the ListPayoutsResponse HOT 5
- Now getCheckoutPageUrl() returning a Reletive url HOT 3
- Description set using `setDescriptionHtml` does not show up in the sandbox dashboard HOT 10
- `InvalidArgumentException: Invalid Url format.` when using any custom server URL HOT 2
- Error: Class 'Square\SquareClient' not found HOT 1
- Fatal Error for DELIVERY Orders HOT 7
- open_basedir restriction error in JsonMapper HOT 1
- unirest-php has removed static entities in the latest release HOT 2
- PHP version required HOT 2
- Support mocking of `HttpClient` in `SquareClient
- Has error related to booking api HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from square-php-sdk.