![]() |
![]()
| ![]() |
![]()
NAMEInterchange6::Schema::Result::PaymentOrder DESCRIPTIONThe "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. 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. ACCESSORSpayment_orders_idPrimary key. payment_modePayment mode, e.g.: PayPal. Defaults to empty string. payment_actionPayment action, e.g.: charge. Defaults to empty string. payment_idPayment ID. Defaults to empty string. auth_codePayment auth code. Defaults to empty string. users_idFK on "users_id" in Interchange6::Schema::Result::User. Is nullable. sessions_idFK on "sessions_id" in Interchange6::Schema::Result::Session. Is nullable. orders_idFK on "orders_id" in Interchange6::Schema::Result::Order. Is nullable. amountAmount of payment. Defaults to 0. statusStatus of this payment. Defaults to empty string. payment_sessions_idFK on "sessions_id" in Interchange::Schema::Result::Session. payment_error_codeError message returned from payment gateway. Defaults to empty string. payment_error_messageError message returned from payment gateway. Is nullable. payment_feeSome gateways (notably PayPal) charge a fee for each transaction. This column should be used to store the transaction fee (if any). createdDate and time when this record was created returned as DateTime object. Value is auto-set on insert. last_modifiedDate and time when this record was last modified returned as DateTime object. Value is auto-set on insert and update. RELATIONSorderType: belongs_to Related object: Interchange6::Schema::Result::Order userType: belongs_to Related object: Interchange6::Schema::Result::User sessionType: belongs_to Related object: Interchange6::Schema::Result::Session
|