ok_txn_payment_method |
How this operation was performed. |
3 |
OKB |
ok_txn_status |
The status of the payment. |
40 |
|
ok_txn_pending_reason |
This variable is set only if ok_txn_status = pending . View list of possible pending reasons. |
40 |
|
ok_txn_reversal_reason |
This variable is set if ok_txn_status = reversed . View list of possible reversal reasons. |
40 |
|
ok_txn_currency |
The currency of the operation. ISO 4217 3-letter code. |
3 |
|
ok_txn_exchange_rate |
Exchange rate used if a currency conversion occurred. |
10 |
|
ok_txn_gross |
Full amount of the customer's payment, before transaction fee is subtracted. If this amount is negative, it signifies a refund or reversal, and either of those payment statuses can be for the full or partial amount of the original transaction. The total ok_txn_gross is the sum of ok_item_x_gross (where x is the shopping cart detail item number). |
15 |
|
ok_txn_net |
Amount of the customer's payment, with subtraction of the transaction fee. |
15 |
|
ok_txn_fee |
Transaction fee associated with the payment. ok_txn_gross minus ok_txn_fee equals the amount credited to the ok_receiver_email wallet/account. If this amount is negative, it signifies a refund or reversal, and either of those payment statuses can be for the full or partial amount of the original transaction fee. |
15 |
|
ok_txn_handling |
Total handling amount associated with the transaction.
Format: unsigned, no currency symbol, two decimal places. |
15 |
|
ok_txn_shipping |
Total shipping amount associated with the transaction. Shipping charges associated with this transaction.
Format: unsigned, no currency symbol, two decimal places. |
15 |
|
ok_txn_shipping_method |
The buyer selected the named shipping method for this transaction. |
64 |
|
ok_txn_tax |
Amount of tax charged on payment. |
|
|
ok_txn_comment |
Memo as entered by your customer in Weezzo comment field. |
255 |
|
ok_invoice |
Pass-through variable you can use to identify your invoice number for this purchase. If omitted, no variable is passed back. |
127 |
|
Item-Related Variables (for Payment Links and Marketplace Transactions)
If this is a shopping cart transaction, Weezzo will append the number of the item (e.g., ok_item_1_name , ok_item_2_name , and so forth). |
ok_items_count |
If this is an Weezzo Shopping Cart transaction, number of items in cart. |
2 |
|
ok_item_#_id |
For Marketplace purchases this is the ID of an Weezzo Marketplace item. |
19 |
|
ok_item_#_name |
Item name as passed by you, the merchant. Or, if not passed by you, as entered by your customer. |
127 |
|
ok_item_#_article |
Pass-through variable for you to track purchases. It will be passed back to you upon completion of the payment. If omitted, no variable will be passed back to you. |
40 |
|
ok_item_#_type |
One of the item types. |
64 |
|
ok_item_#_quantity |
Quantity as entered by your customer or as passed by you, the merchant. |
8 |
|
ok_item_#_gross |
The item gross amount is in the currency of ok_txn_currency . The ok_item_x_gross amount is the sum of ok_item_x_price + ok_item_x_handling + ok_item_x_shipping + ok_item_x_tax . |
15 |
|
ok_item_#_price |
The item price without shipping, handling, and/or taxes. |
15 |
|
ok_item_#_handling |
The handling x variable is only shown when the merchant applies a handling amount to a specific item. The sum of handling x is equal to ok_txn_handling . |
15 |
|
ok_item_#_shipping |
The shipping x variable is only shown when the merchant applies a shipping amount to a specific item. The sum of shipping x is equal to ok_txn_shipping . |
15 |
|
ok_item_#_tax |
The tax x variable is included only if a specific tax amount was applied to a particular shopping cart item. The sum of tax x is equal to ok_txn_tax . |
15 |
|
ok_item_#_custom_1_title
|
Custom field 1 title as passed by you, the merchant. |
127 |
|
ok_item_#_custom_1_value |
Custom field 1 value as passed by your client. |
127 |
|
ok_item_#_custom_2_title |
Custom field 2 title as passed by you, the merchant. |
127 |
|
ok_item_#_custom_2_value |
Custom field 2 value as passed by your client. |
127 |
|
Subscription-Related Variables |
ok_s_event |
One of the subscription events which allows you to determine what kind of subscription IPN you received and how it should be handled. |
20 |
|
ok_s_id |
Unique subscription ID assigned by Weezzo. |
10 |
|
ok_s_title |
Text title displayed to the customer and describing this particular type of subscription. |
200 |
|
ok_s_status |
Current status of the subscription. |
20 |
|
ok_s_setup_price |
Setup amount charged at the moment of subscription. |
15 |
|
ok_s_trial_cycle |
Duration of the single trial cycle. |
6 |
|
ok_s_trial_price |
Subscription price of the trial cycle. |
15 |
|
ok_s_trial_count |
The number of cycles (with a step of ok_s_trial_cycle ) for which the trial price for the subscription will be charged. If set to zero (0) then no trial period is defined. |
10 |
|
ok_s_trial_payments_done |
Number of successful payments taken for a trial cycle. |
10 |
|
ok_s_regular_cycle |
Duration of the single regular (main) cycle. |
6 |
|
ok_s_regular_price |
Subscription price of the regular (main) cycle. |
15 |
|
ok_s_regular_count |
Number of cycles (with a step of ok_s_regular_cycle ) for which the regular price for the subscription will be charged. A value of 0 (default) implies that the subscription will continue until it is canceled by the customer or by the merchant. |
10 |
|
ok_s_regular_payments_done |
Information about the number of regular cycles a customer paid for. |
10 |
|
ok_s_reattempt_days |
The number of days Weezzo will try to attempt collection of an outstanding balance from a customer. If payment cannot be collected after the specified number of days have passed, the subscription will be canceled. Value of "0" (zero) means that the subscription will be canceled instantly on first failed payment, and "-1" means that number of attempts is unlimited. |
3 |
|
ok_s_reattempt_accum |
This field can assume one of two values. “0” – on reattempt the system will not charge more than the price of the next billing cycle (default); “1” – system will add all previous payments that failed to the next bill. |
1 |
|
ok_s_start_datetime |
Creation date and time of subscription in the following format: "YYYY-MM-DD hh:mm:ss". |
20 |
|
ok_s_next_payment_datetime |
Information about the scheduled date of the next payment for this subscription in the following format: "YYYY-MM-DD hh:mm:ss". |
20 |
|
ok_s_retry_at |
This is the time when the system will automatically try again to charge the current outstanding balance for the subscription. This parameter is returned only for failed subscriptions (ok_s_status=failed ). Date and time are specified in the following format: "YYYY-MM-DD hh:mm:ss". |
20 |
|
ok_s_active |
Tells whether that subscription is still active. If equal to "0" - the subscription is active at the moment. If "1" - the subscription is active until the time which is indicated in the parameter ok_s_valid_until . |
1 |
|
ok_s_valid_until |
Date when the paid subscription period will end, in the following format: "YYYY-MM-DD hh:mm:ss". If the subscription is not active, i.e. parameter ok_s_active=0 , then none will be returned. |
20 |
|
Pre-approved Payment Related Variables |
ok_p_event |
One of the pre-approved payment events which allows you to determine what kind of pre-approved payment IPN you received and how it should be handled. |
20 |
access_granted |
ok_p_status |
Current status of the pre-approved payments contract. |
20 |
active |
ok_p_id |
Unique pre-approved payments contract ID assigned by Weezzo. |
10 |
12345 |
ok_p_title |
Text title displayed to the customer and describing this particular type of pre-approved payments contract. |
200 |
"ABC Account Top-up" |
ok_p_datetime |
Timestamp of the event in the following format (UTC): "YYYY-MM-DD hh:mm:ss". |
20 |
"2013-08-31
07:49:51" |