Skip to content

Commit

Permalink
[paypal][masspay] Fix bugs.
Browse files Browse the repository at this point in the history
- add default storage for payout model
- add a payout path to generic token factory
- fix typos in the docs.
  • Loading branch information
makasim committed Jun 9, 2016
1 parent 4c3648b commit 7ad9844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/docs/get-it-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $payum = (new PayumBuilder())
->addDefaultStorages()

->addGateway('aGateway', [
'factory' => 'paypal_masspay'
'factory' => 'paypal_masspay',
'username' => 'change it',
'password' => 'change it',
'signature' => 'change it',
Expand Down Expand Up @@ -57,7 +57,7 @@ $gatewayName = 'aGateway';
$storage = $payum->getStorage(Payout::class);

$payout = $storage->create();
$payout->setCurrenyCode('USD');
$payout->setCurrencyCode('USD');
$payout->setRecipientEmail('recipient@example.com');
$payout->setTotalAmount(100); // 1$
$storage->update($payout);
Expand Down

0 comments on commit 7ad9844

Please sign in to comment.