Page MenuHomeDatingVIP

transaction.init
Updated 2,624 Days AgoPublic

Version 3 of 10: You are viewing an older version of this document, as it appeared on Mar 3 2017, 07:05.

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.
order_type(string)noAllowed values '' (empty string) and xsale. Determine if order is Cross Sale or not.
return_url(string)noReturn URL (used for PayPal like PP's)
cancel_url(string)noCancel URL (used for PayPal like PP's)
items(array)yesArray of items
override(int)noUsed for Payment Processor Account Override
override_tag(int)noUsed for Payment Processor Account Override
override_type(string)noAllowed values: '' (empty string) and x-sales. See Payment Processor Account Override

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
banovic
Last Edited
Mar 3 2017, 07:05

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