We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
一つのアイデアとして。
class MyOrder attr_reader :amount, :user_id, :user_email, :item_code, :item_name, :order_number end class ActiveRecordOrder < AR::Base include ActiveMerchant::Epsilon::Transaction epsilon_transaction do |order| amount order.amount user_id order.user.id user_email order.user.email item_code order.line_items.first.id item_name order.line_items.first.name order_number order.id end end gateway.purchase(my_order_instance, creadit_card) gateway.purchase(active_record_order_instance, creadit_card)
Sorry, something went wrong.
class ActiveRecordOrder < AR::Base include ActiveMerchant::Epsilon::Transaction epsilon_transaction_amount :amount epsilon_transaction_user_id -> {|o| o.user.id } ... end gateway.purchase(active_record_order_instance, creadit_card)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: