Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Network Library: PayPal Payments Standard Button Manager API

Classes

ECF: paypal.ecf

Directory source listing

Overview

An Eiffel interface to the PayPal Payments Standard Button Manager NVP HTTP API.

Directory: library/network/paypal

. /connection

. /enums

. /enums/shared

. /enums/values

. /helper

. /parameters

. /parameters/lists

. /parameters/methods

. /query-results

connection

PP_NVP_API_CONNECTION

Paypal NVP API connection accessible via PP_SHARED_CONNECTION

PP_HTTP_CONNECTION

PP_SHARED_CONNECTION

enums

PP_PAYMENT_PENDING_REASON_ENUM

Reasons for pending payment. See payment information variables in IPN integration guide.

PP_PAYMENT_STATUS_ENUM

Payment status codes. See Payment information variables in IPN integration guide.

PP_TRANSACTION_TYPE_ENUM

IPN transaction types for {PP_TRANSACTION}.txn_type

Further Information

Click on class link to see notes.

PP_PARAMETER_ENUM

enums/shared

PP_SHARED_PARAMETER_ENUM

PP_SHARED_PAYMENT_PENDING_REASON_ENUM

PP_SHARED_PAYMENT_STATUS_ENUM

PP_SHARED_TRANSACTION_TYPE

enums/values

PP_PAYMENT_STATUS

Payment status code with values defined by PP_PAYMENT_STATUS_CODE

PP_PAYMENT_PENDING_REASON

PP_TRANSACTION_TYPE

helper

PP_ADDRESS

Postal address

PP_ADDRESS_STATUS

address_status: Whether the customer provided a confirmed address. Value is:

confirmed - Customer provided a confirmed address.

unconfirmed - Customer provided an unconfirmed address.

See: Buyer information variables

PP_BUTTON_DETAIL

Details of Paypal button. Just to confuse matters, Paypal names these fields using lower_snake_case rather than UPPERCAMELCASE.

PP_COMMAND_SHELL

Command shell for testing purposes

PP_DATE_TIME

Object representing Paypal payment transaction time. It assumes the following format and is converted to UTC.

HH:MM:SS Mmm DD, YYYY PST

Used in PP_TRANSACTION.payment_date

Further Information

Click on class link to see notes.

PP_NAMING_ROUTINES

Eiffel to Paypal and Paypal to Eiffel field name conversion

PP_PRODUCT_INFO

Product button information reflectively convertible to type PP_BUTTON_SUB_PARAMETER_LIST

PP_SHARED_REFLECTION_MANAGER

Routine to initialize default values for reflection. Must be called before using API but PP_NVP_API_CONNECTION calls initialize_reflection for you on creation.

PP_TRANSACTION

Reflectively settable Payment transaction information. See Payment information variables in IPN integration guide.

PP_REFLECTIVELY_SETTABLE

PP_REFLECTIVELY_SETTABLE_LIST

PP_VARIABLE

parameters

PP_NUMBERED_VARIABLE_NAME_SEQUENCE

Numbered variable name sequence

PP_VARIABLE_NAME_SEQUENCE

Numbered variable name sequence

PP_DATE_TIME_PARAMETER

PP_NAME_VALUE_PARAMETER

parameters/lists

PP_BUTTON_LOCALE_PARAMETER

Button locale parameters as for example: en_US, de_DE

PP_BUTTON_SUB_PARAMETER_LIST

List of button variables for requests BMCreateButton and BMUpdateButton

Createable from instance of PP_PRODUCT_INFO using make_from_object.

PP_CREDENTIALS

Reads name value pairs from file encrypted using EL utility program: el_toolkit -crypto

Example:

# This is a comment

USER: finnian
SIGNATURE: A87F87C8789-AF89AA
PWD: dragon-legend1

PP_NUMBERED_VARIABLE_PARAMETER_LIST

Parameter list with numbered variable names as for example:

L_OPTION0PRICE1
L_OPTION0PRICE2

L_OPTION1PRICE1
L_OPTION1PRICE2

PP_OPTION_PRICE_PARAMETER_LIST

Buy-button create/update option. (Optional) The price associated with the n'th menu item.

L_OPTIONnPRICEx

It is a list of variables for each OPTIONnNAME, in which x is a digit between 0 and 9, inclusive

PP_OPTION_SELECT_SUB_PARAMETER_LIST

Buy-button create/update option. (Optional) The menu item's name.

L_OPTIONnSELECTx

It is a list of variables for each OPTIONnNAME, in which x is a digit between 0 and 9, inclusive

PP_SUB_PARAMETER_LIST

List of NVP API sub-parameters as for example:

L_BUTTONVAR0: currency_code=HUF
L_BUTTONVAR1: item_name=Single PC subscription pack
L_BUTTONVAR2: item_number=1.en.HUF

PP_BUY_OPTIONS

parameters/methods

PP_BUTTON_METHOD

Parameters for a NVP API button method call

PP_BUTTON_SEARCH_METHOD

PP_CREATE_BUTTON_METHOD

PP_GET_BUTTON_DETAILS_METHOD

PP_MANAGE_BUTTON_STATUS_METHOD

PP_UPDATE_BUTTON_METHOD

query-results

PP_BUTTON_QUERY_RESULTS

Results of a NVP button API query

PP_HTTP_RESPONSE

Deserialized response to Paypal HTTP method call

PP_BUTTON_DETAILS_QUERY_RESULTS

PP_BUTTON_META_DATA

PP_BUTTON_OPTION

PP_BUTTON_SEARCH_RESULTS