Stripe: Create a Charge with Coupon
<p>Could you guy please show me how to create a Stripe Charge which can apply the discount automatically.</p>

<ol>
<li>I have a valid coupon code (expired in far future, forever use, discount $2).</li>
<li>I create a new Stripe user and assign that Coupon Code for him.</li>
<li>I make a Charge with that customer and some money says: amount = $10.</li>
</ol>

<p>All the thing works. When I login to Stripe Dashboard, I still see the new user in the list and he is using that Coupon Code. However in the payment, he still pay me $10 instead of $8.</p>

<p>I would like to make a Charge with amount = $10, however Stripe will do discounting so the true Charge will pay $8 only.</p>

<pre><code>$myCard = array(
  'number' =&gt; '4242424242424242',
  'exp_month' =&gt; 12,
   'exp_year' =&gt; 16
);

$coupon  = Coupon::retrieve('6868');
//Valid coupon
$stripe_customer = Customer::create(array(
    'card' =&gt; $myCard,
    'email' =&gt; 'cus@info.com',
    'coupon' =&gt; $coupon
));

$charge = Charge::create(array(
    'customer' =&gt; $stripe_customer-&gt;id,
    'amount' =&gt; 1000,
    'currency' =&gt; 'usd'
));
</code></pre>