I am nearing the end of a Perch Shop build. I am primarily a front end dev, and have tried to learn as I go, but have now hit a wall.
I am trying to set up Stripe as the payment gateway.
When loading checkout.php, I get nothing. The header layout is still pulled in, but once perch_shop_checkout is called the html ends abruptly.
I have followed the example and added the following to the head.
<script src="https://js.stripe.com/v3/"></script>
Is this the correct stripe.js?
I have also set up the config file as shown and added my API keys.
The first item in the body is:
<?php perch_shop_checkout(); ?>
But I have also tried:
<?php perch_shop_checkout('stripe'); ?>
I then call:
<?php perch_shop_payment_form('stripe'); ?>
Have tried a few combinations and cannot get it working. Am I doing something silly?
Thanks