Thread tagged as: Question, Configuration, Shop

Blank checkout page

My checkout page is blank. Am I calling the page function correctly? The debug call does not return

<?php include($_SERVER['DOCUMENT_ROOT'].'/perch/runtime.php'); ?>
<!doctype html>
<html lang="en">
    <meta charset="utf-8" />
    <title>Perch Example Page</title>
    <?php perch_get_css(); ?>
    <h1><a href="../../"><?php perch_content('Main heading'); ?></a></h1>
    <span><?php perch_content('Introduction'); ?></span>
    <?php perch_shop_checkout([
      'return_url' => 'success.php',
      'cancel_url' => 'failure.php'
    <?php PerchUtil::output_debug(); ?>
    <?php perch_get_javascript(); ?>
Fred Stidston

Fred Stidston 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you're missing the gateway argument.

Thank you

More information here

Particularly perch_shop_payment_form() within your chosen Payment Gateway