A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
hi
Here i have on laravel SHOPIFY_API_VERSION = 2019-04. I have to enable biiling app but
when i run code Trying to get property 'recurring_application_charge' of non-object.
public function confirmationUrl()
{
// Begin the charge request
$charge = $this->api->rest(
'POST',
"/admin/{$this->plan->typeAsString(true)}.json",
["{$this->plan->typeAsString()}" => $this->chargeParams()]
)->body->{$this->plan->typeAsString()};
return $charge->confirmation_url;
}
->body->{$this->plan->typeAsString()}; this line geeting error.
Do you have idea how can solve this ?
sceenshort link : https://www.awesomescreenshot.com/image/30314681?key=35acd6021b5a86f8313390c09dae6e03