Skip to content

Commit

Permalink
[doc] simplify prepare example. return url will be set implicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Jul 21, 2014
1 parent 2442acc commit e847abb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/get-it-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ class PaypalController extends CController

$captureToken = $payum->getTokenFactory()->createCaptureToken($paymentName, $details, 'paypal/done');

$details['RETURNURL'] = $captureToken->getTargetUrl();
$details['CANCELURL'] = $captureToken->getTargetUrl();
$storage->updateModel($details);

$this->redirect($captureToken->getTargetUrl());
}

Expand All @@ -127,4 +123,4 @@ class PaypalController extends CController
}
```

Back to [index](index.md).
Back to [index](index.md).

2 comments on commit e847abb

@alexandernst
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be present in the next release of Payum (0.9.4?), right?
When do you plan to release it?

@makasim
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did it just now, tag 0.9.2

Please sign in to comment.