Loading...
 

Payment




Introduced in Tiki5, the payment feature allows to request payments (which is an invoice) and manage them and connect payments to other features. Payments are not meant to be a complete cart feature or to be used for complex international trade. It does not handle taxes, shipping or any kind of advanced reporting.

Payments can be entered manually (for cash or check payments) or through PayPal (in Tiki5), or through CCLite for community currency payments in Tiki6, or using Credits in Tiki6.

Payments are not associated to any user. Each payment is standalone and can be paid by anyone, provided they can view it. Visibility is managed through permissions. Provided a direct link to a payment, anyone can view and pay the amount, which is useful, for example, to forward an invoice to a manager.

Although still in development, the payment mechanism allows to register actions to be performed when the payment is completed, allowing other components in Tiki to request payments and act on them.

Membership Management

Payments can be combined with PluginMemberPayment and group expiry to automatically subscribe members to a group or extend their membership upon payment.

Here are the steps to have a monthly membership on a site:
  1. Create a Premium Members group and set-up the permissions so the content can only be visible to members of this group.
  2. Set the expiry of the group to 30 days.
  3. Set-up your PayPal account information.
  4. Create a subscription/payment page containing: {memberpayment group=Premium Members price=10}.

The payment plugin will require validation to prevent anyone from creating discount prices for the membership. The plugin will allow the visitor to pay 10$ per 30 days per user for a selected list of users for a selected amount of periods.

Upon payment confirmation by PayPal IPN or manual payment entry by a staff member (assuming check or cash payment), the memberships will be extended.

Cart

An initial support for a shopping cart was also added. The cart feature is composed of a module to display the cart content and proceed to check-out and a wiki plugin to add items to the cart. The plugin must specify the information about the product purchased.

Once products are added and check-out is made, a payment request is recorded and the invoice is presented to the user. All handling of the cart's content by the site's owner is manual.

The cart does not calculate taxes or shipping costs. It only sums the total.

Development

The Payment API is built to be initialized in code and to have behaviors to be triggered on confirmation. For custom usage or further deployment in Tiki (member management is one use case), see Payment.

Some tips about how it works: https://www.paypal.com/en_US/ebook/PP_OrderManagement_IntegrationGuide/ipn.html

Notes

  • Use three letter currency codes
  • If the returnurl after PayPal payment is not working, try to set a returnurl in your PayPal account (edit profile -> selling preferences -> website payment preference -> auto return on + enter an url) This url will be overwritten by the plugin. So do not worry about the value.


Files/URLs

tiki-admin.php?page=payment
tiki-payment.php


Alias

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki