Skip to content

Commit

Permalink
[composer] add some tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Mar 25, 2016
1 parent e08ed55 commit 10fec0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Resources/docs/direct.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ $payum = (new PayumBuilder())

Do next:

```
```php
<?php
// prepare.php

use Payum\Core\Model\CreditCard;

// ...
Expand All @@ -40,7 +43,7 @@ $card->setNumber('4111111111111111');
$card->setExpireAt(new \DateTime('2018-10-10'));
$card->setSecurityCode(123);

$order->setCreditCard($card);
$payment->setCreditCard($card);
```

Here you have to modify a `gatewayName` value. Set it to `stripe`. And create and populate a credit card object.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "payum/stripe",
"type": "library",
"description": "The Payum extension. It provides Stripe payment integration.",
"keywords": ["payment", "stripe", "stripe.js", "checkout"],
"keywords": ["payment", "stripe", "stripe.js", "checkout", "direct", "subscription", "store card"],
"homepage": "http://payum.org",
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 10fec0f

Please sign in to comment.