mirror of
https://github.com/plutov/paypal.git
synced 2025-02-02 23:20:36 +01:00
Fix README redirect url index
This commit is contained in:
parent
6b094a602b
commit
a1b60837f9
|
@ -59,7 +59,7 @@ description := "Description for this payment"
|
||||||
paymentResult, err := c.CreateDirectPaypalPayment(amount, redirectURI, cancelURI, description)
|
paymentResult, err := c.CreateDirectPaypalPayment(amount, redirectURI, cancelURI, description)
|
||||||
|
|
||||||
// If paymentResult.ID is not empty and paymentResult.Links is also
|
// If paymentResult.ID is not empty and paymentResult.Links is also
|
||||||
// we can redirect user to approval page (paymentResult.Links[0]).
|
// we can redirect user to approval page (paymentResult.Links[1]).
|
||||||
// After approval user will be redirected to return_url from Request with PaymentID
|
// After approval user will be redirected to return_url from Request with PaymentID
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user