Page MenuHomeDatingVIP

transaction.init
Updated 3,347 Days AgoPublic

Version 1 of 10: You are viewing an older version of this document, as it appeared on Mar 11 2015, 13:33.

transaction.init

Description

Initialize transaction

Input Parameters
NameTypeRequiredDescription
pp_type(string)yesPayment processor type
tracking_order(int)noOrder ID to be tracked on client app.
tracking_user(int)yesUser ID to be tracked on client app.
tracking_tag(int)yesTag ID to be tracked on client app.
first_name(string)yesFirst Name
last_name(string)yesLast Name
zipcode(string)yesUser ZIP code
country(string)yesCountry abbr.
email(string)yesUser email address
ip(string)yesIP address from which user is making the transaction
host(string)yesHost form which user is making the transaction
currency(string)yesCurrency abbr.
return_urlstringnoReturn URL (used for PayPal like PP's)
cancel_urlstringnoCancel URL (used for PayPal like PP's)
items(array)yesArray of items

items

NameTypeRequiredDescription
trial_amountfloatnoTrial Amount
trial_unitstring (day|week|month|year)noTrial unit
trial_periodintnoTrial period
amountfloatyesrebill amount
rebill_unitstring (day|week|month|year)yesrebill unit
rebill_periodintyesrebill period
max_rebill_countintyesmax rebill count (-1 unlimited)
descriptionstringyesItem description
Return
NameTypeDescription
resultarrayResult array with data
Usage Example

See Quick Start Guide for usage examples

Last Author
boris
Last Edited
Mar 11 2015, 13:33

Event Timeline

boris moved this document from Unknown Object (Phriction Wiki Document).Mar 11 2015, 13:33
boris changed the visibility from "Public (No Login Required)" to "All Users".
boris changed the visibility from "All Users" to "Public (No Login Required)".
boris shifted this object from the Restricted Space space to the S6 Everyone space.Aug 8 2018, 08:26