• I have two websites using the same Braintree account. Braintree tells me “To specify which merchant account to use, pass the merchant_account_id when creating the transaction.” and gives the following Ruby code:

    result = Braintree::Transaction.sale(
    :amount => “10.00”,
    :merchant_account_id => “your_merchant_account”,
    :payment_method_nonce => nonce_from_the_client
    )

    I have no idea where to put it.. any advice would be appreciated.
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    WordPress and our plugin are programmed in PHP, not Ruby.

    Also, you don’t have to edit the code to get Braintree working. You should just need to enter the API key info into the PMPro settings, setup a “plan” in Braintree to match your PMPro level (name is on the levels page in PMPro settings when you edit the level), have an SSL installed and working, and checkout.

Viewing 1 replies (of 1 total)
  • The topic ‘How to specify Braintree Merchant Account’ is closed to new replies.