-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create a payment account when create a stripe account #2
Comments
I believe that I found the problem. User's model miss the method public function paymentAccounts(): MorphOne
{
return $this->morphOne(PaymentAccount::class, 'accountable');
} After add this to {
"message": "Stripe account created successfully.",
"stripe_account_id": 1,
"_profiler": {
"__meta": {
"id": "Xa55be6ab35ca259aab0e04d50368256c",
"datetime": "2022-01-03 15:32:28",
"utime": 1641223948.320733,
"method": "POST",
"uri": "/v1/user/payments/accounts/stripe",
"ip": "192.168.0.1"
},
"messages": {
"count": 0,
"messages": []
},
} |
This partially solve the problem, but I found more methods missing. I have a conclusion that the payment container is not fully operational. |
This container is a very old container of apiato and we expect many functionalities not work properly or things missing! |
on Apiato v11 the release notes say that the support to payment was drop off https://github.com/apiato/apiato/releases/tag/v11.0.0 |
Description:
I'm trying to create a stripe account but when the task try to execute the
AssignPaymentAccountToUserTask
class return error and not create payment account.Expected Behavior:
An associated payment account for stripe account submitted.
Versions:
Steps To Reproduce:
Make a
POST
to/user/payments/accounts/stripe
:Additional Context:
See #1
The returned log message:
Request debugger info:
Laravel Log:
The text was updated successfully, but these errors were encountered: