Interchange6::Schema::Result::PaymentOrder
The payment_sessions_id is used to store the session id provided by the gateway. For example, with Business::OnlinePayment::IPayment you put the session id into the HTML form for the silent CGI mode.
payment_sessions_id
The sessions_id is used here so we can track down payments without orders. We usually turn a guest user into a real user after confirmation of a successful payment, so we need the session information here in the case the payment is made but the confirmation didn't reach the online shop.
sessions_id
Primary key.
Payment mode, e.g.: PayPal.
Defaults to empty string.
Payment action, e.g.: charge.
Payment ID.
Payment auth code.
FK on "users_id" in Interchange6::Schema::Result::User.
Is nullable.
FK on "sessions_id" in Interchange6::Schema::Result::Session.
FK on "orders_id" in Interchange6::Schema::Result::Order.
Amount of payment.
Defaults to 0.
Status of this payment.
FK on "sessions_id" in Interchange::Schema::Result::Session.
Error message returned from payment gateway.
Some gateways (notably PayPal) charge a fee for each transaction. This column should be used to store the transaction fee (if any).
Date and time when this record was created returned as DateTime object. Value is auto-set on insert.
Date and time when this record was last modified returned as DateTime object. Value is auto-set on insert and update.
Type: belongs_to
Related object: Interchange6::Schema::Result::Order
Related object: Interchange6::Schema::Result::User
Related object: Interchange6::Schema::Result::Session
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.