Page MenuHomeDatingVIP

transaction.init
Updated 1,953 Days AgoPublic

Version 6 of 10: You are viewing an older version of this document, as it appeared on Jan 4 2019, 04:38.

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.
initial_order_hash(string)noUse only in case of order_type = 'xsale'. Put hash from transation.init response of initial/basic order
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 DEPRECATED
override_tag(int)noUsed for Payment Processor Account Override DEPRECATED
override_type(string)noAllowed values: '' (empty string) and x-sales. See Payment Processor Account Override DEPRECATED
pp_config(array)noMerchand data params to 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

pp_config

NameTypeRequiredDescription
ppac_idintnoMerchant account id (defined for partner in payment app)
force_accintnoRocket Gate specific, if set it will set appropriate merchantAccount parameter for API call to Rocket Gate
force_midintnoRocket Gate specific, if set it will set appropriate merchantSiteID parameter for API call to Rocket Gate
Return
NameTypeDescription
resultarrayResult array with data
Usage Example

See Quick Start Guide for usage examples

Last Author
aplawecki
Last Edited
Jan 4 2019, 04:38

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