Skip to content

29next/example-campaign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-api-git-hero

Example Campaign

This is an example of a simple campaign that demostrates a straight forward integration with the 29next Campaigns App

You can run these pages on a local server using this script and get real feedback from a test store on 29next

npm install

npm start

Checkout page

A basic offer select and order summary with the customer information form and payment options.

Contains an example of using the Create Cart method to capture basic user information before creating an order.

The example of the Create Order method shows:

  • An example of the required iFrame Payment Form integration for Bankcard payments

  • Also shows an example of how to handle an example "APM Redirect Payment Flow" for paypal

We are utilizing Just Validate as an example of form validation

You can use our test cards to create a card order

Upsell page

Demostrates a basic example of the Retrieve Order Details method to check if the choosen payment method supports post purchase upsells

As well as the Create Upsell Order method to show how to add post purchase upsells to an order if the payment method supports them

Thank You / Confirmation page

Shows an example of using the Retrieve Order Details method to map the values to the template to create an order summary for the customer.