Skip to content

Instantly share code, notes, and snippets.

@timrogers
Created April 22, 2013 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timrogers/5433992 to your computer and use it in GitHub Desktop.
Save timrogers/5433992 to your computer and use it in GitHub Desktop.
Setting account details in the GoCardless PHP library
<?php
require_once('GoCardless.php');
$account_details = array(
'app_id' => 'DUMMY_APP',
'app_secret' => 'INSERT_APP_SECRET_HERE',
'merchant_id' => 'WOQRUJU9OH2HH1',
'access_token' => 'INSERT_MERCHANT_ACCESS_TOKEN'
);
// GoCardless::$environment = 'sandbox';
GoCardless::set_account_details($account_details);
// ...
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment