recurring_application_charge api now working laravel package osiset/basic-shopify-api

Shopify Partner
2 0 0

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(
["{$this->plan->typeAsString()}" => $this->chargeParams()]

return $charge->confirmation_url;

->body->{$this->plan->typeAsString()}; this line geeting error.

Do you have idea how can solve this ?
sceenshort link :

Replies 0 (0)