You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using Images field to attach an image to a resource. After the resource created I want to created associated product in Stripe.
To do this I have created an resource Observer but when I want to retrieve image from resource using getFirstMediaUrl(), this returns null.
This is my observer:
class FormuleObserver implements ShouldHandleEventsAfterCommit
{
public function __construct(public StripeClient $stripeClient)
{
Hello, I'm using Images field to attach an image to a resource. After the resource created I want to created associated product in Stripe.
To do this I have created an resource Observer but when I want to retrieve image from resource using getFirstMediaUrl(), this returns null.
This is my observer:
class FormuleObserver implements ShouldHandleEventsAfterCommit
{
public function __construct(public StripeClient $stripeClient)
{
}
The text was updated successfully, but these errors were encountered: