mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 02:11:02 +01:00
Update README.md (#273)
This commit is contained in:
parent
daabe58f88
commit
9451befb2b
|
@ -62,7 +62,7 @@ order, err := c.GetOrder("O-4J082351X3132253H")
|
|||
ctx := context.Background()
|
||||
units := []paypal.PurchaseUnitRequest{}
|
||||
source := &paypal.PaymentSource{}
|
||||
appCtx := &paypalApplicationContext{}
|
||||
appCtx := &paypal.ApplicationContext{}
|
||||
order, err := c.CreateOrder(ctx, paypal.OrderIntentCapture, units, ource, appCtx)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user