Should the package cast data into stripe object classes instead of simple array? #126
wanghanlin
started this conversation in
Ideas
Replies: 1 comment
-
Update: #129 solved this issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now the package store data as json in database, and cast into array by default when accessing, but if we integrate stripe php sdk directly, the response is using stripe object classes accordingly for all model, eg. PaymentIntent, Customer etc.
Should we have this built-in into the package?
stripe docs have marked all type of
data.object
for all eventhttps://stripe.com/docs/api/events/types
Beta Was this translation helpful? Give feedback.
All reactions