When initialising gocardless-ruby with your GoCardless account details, your merchant id must now be passed in explicitly. This means that including the manage_merchant
scope in the token
attribute is now deprecated.
Before
GoCardless.account_details = {
:app_id => 'APP_ID_XXXXXXXXXXXXXXXXXXXXX',
:app_secret => 'APP_SECRET_XXXXXXXXXXXXXXXXX',
:token => 'ACCESS_TOKEN_XXXXXXX manage_merchant:MERCHANT_ID',
}
After
GoCardless.account_details = {
:app_id => 'APP_ID_XXXXXXXXXXXXXXXXXXXXX',
:app_secret => 'APP_SECRET_XXXXXXXXXXXXXXXXX',
:token => 'ACCESS_TOKEN_XXXXXXX',
:merchant_id => 'MERCHANT_ID',
}
If you have any questions, get in touch with us at help@gocardless.com.