The MojoMotorist - For All Things Related to the MojoMotor CMS

Payup

A Commercial add-on by Conflux Group, Inc.

Description

With really simple syntax, you can now incorporate PayPal’s Website Payments Standard into your layouts in MojoMotor. The tags take care of it all, from setting up the form, switching between sandbox and live servers, defining hidden fields for passing data to Paypal, and creating buttons using PayPal provided images or your own.

Example:

//first you put in the start tag, which opens up a new PayPal form

{mojo:payup:start testing="no"}

//now add some fields, you can even include Outfielder fields if you have
our

//Outfielder addon installed as well

{mojo:payup:add_field name="amount" outfield_value="price" hidden="yes"}

{mojo:payup:add_field name="notify_url" value="http://yourdomain/notify"
hidden="yes"}

{mojo:payup:add_field name="return"
value="http://yourdomain/purchase-complete" hidden="yes"}

{mojo:payup:add_field name="cancel_return" value="http://yourdomain"
hidden="yes"}

{mojo:payup:add_field name="business" outfield_value="business"
hidden="yes"}

{mojo:payup:add_field name="item_name" value="An Item Name" hidden="yes"}

//then we add a button. here, we've specified our own, you can also add
//any necessary classes or an id
{mojo:payup:add_button image="/assets/images/buynow.jpg" class="buybutton"}

//last, we close up the form
{mojo:payup:end}

Tags

paypal   payment   layouts  

Reviews for Payup

There are no reviews for this add-on.

 

Leave A Review

Commenting is not available in this channel entry.