diff --git a/Resources/docs/direct.md b/Resources/docs/direct.md index aac2b43..ccf91ac 100644 --- a/Resources/docs/direct.md +++ b/Resources/docs/direct.md @@ -30,7 +30,10 @@ $payum = (new PayumBuilder()) Do next: -``` +```php +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. diff --git a/composer.json b/composer.json index 655ce08..7705073 100644 --- a/composer.json +++ b/composer.json @@ -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": [