diff --git a/README.md b/README.md index c37f76a..01b9034 100644 --- a/README.md +++ b/README.md @@ -195,14 +195,17 @@ if ($pingback->validate()) { )); ####Create a one-time token -
$tokenModel = new Paymentwall_OneTimeToken();
+```php
+$tokenModel = new Paymentwall_OneTimeToken();
 $token =  $tokenModel->create(array(
 	'public_key' => Paymentwall_Config::getInstance()->getPublicKey(),
 	'card[number]' => '4242424242424242',
 	'card[exp_month]' => '11',
 	'card[exp_year]' => '19',
 	'card[cvv]' => '123'
-));
+)); +// send token to charge via $token->getToken(); +``` ####Charge
$charge = new Paymentwall_Charge();