sermepa-omnipay icon indicating copy to clipboard operation
sermepa-omnipay copied to clipboard

Little example like Stripe or another

Open developez opened this issue 9 years ago • 0 comments

Thank you by your plugin, but I am confused about the parameters. Can you put a simple example like Stripe? (/src/Gateway.php)

For example:

/**
 * Stripe Gateway.
 *
 * Example:
 *
 * <code>
 *   // Create a gateway for the Stripe Gateway
 *   // (routes to GatewayFactory::create)
 *   $gateway = Omnipay::create('Stripe');
 *
 *   // Initialise the gateway
 *   $gateway->initialize(array(
 *       'apiKey' => 'MyApiKey', <== PARAMETERS HERE
 *   ));
 *
 */

Which is the parameter to put the "FUC" ?

developez avatar Mar 21 '16 12:03 developez