Skip to content

Active Merchant 1.29.3, activating test/sandbox mode and international customers #2

Description

@lvxn0va
  • For some reason, AM 1.17.0 would not initialize the catarse_paypal_express gem. I had to upgrade the AM version and dependencies in Gemfile and Gemfile lock to 1.29.3 inorder for it to startup and not give me NameError: uninitialized class variable @@gateway in CatarsePaypalExpress::Payment::PaypalExpressController
  • In the Catarse Rails Console I had to enter:
    Configuration.create!(name: "paypal_test", value: "true")

Otherwise PP goes to main site and not Sandbox. Might want to add that to the readme

  • Also, is there a way to override the default currency established in the active_merchant.rb? Something like:
    Configuration.create!(name: "paypal_default_currency", value: "US")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions