Fatal error: Call to a member function create() on a non-object
Hi. We've recently purchases Vantage (running 3.0.2) on Wordpress 4.2.4.
We are running a child theme but it's essentially just css changes.
I've tried to complete a new listing using the stripe plugin in both test and live modes with the same result.
Someone can register, complete their listing details and select Credit Card (stripe) as their payment method.
They are switched to the https secure page and presented with the credit card entry form.
Upon submitting, it throws the fatal error message:
Fatal error: Call to a member function create() on a non-object in /home/[our site]/public_html/site/
wp-content/plugins/appthemes-stripe/stripe-gateway.php on line 131
That corresponds to the section "Create Card" and is being triggered by the following line:
$card = $customer->cards->create( array(
'card' => $token
) );
From the looks of things, other people are also experiencing the same issue. We were meant to be making our site live today with payment testing the final stage before launch so this is somewhat embarrassing to have to tell a client the plugin we just purchased isn't working.
Are there any suggestions to get this working. Happy to add or adjust code from here and test.