You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,14 +31,14 @@ React developers think in terms of components and not about loading external scr
31
31
**Features**
32
32
33
33
- Enforce async loading the JS SDK upfront so when it's time to render the buttons to your buyer, they render immediately.
34
-
- Abstract away the complexity around loading the JS SDK with the global [PayPalScriptProvider](https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalscriptprovider--default) component.
34
+
- Abstract away the complexity around loading the JS SDK with the global [PayPalScriptProvider](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalscriptprovider--default) component.
35
35
- Support dispatching actions to reload the JS SDK and re-render components when global parameters like `currency` change.
36
36
- Easy to use components for all the different Braintree/PayPal product offerings:
@@ -105,7 +105,7 @@ Use the optional PayPalScriptProvider `deferLoading` prop to control when the JS
105
105
</PayPalScriptProvider>
106
106
```
107
107
108
-
To learn more, check out the [defer loading example in storybook](https://paypal.github.io/react-paypal-js/?path=/story/example-paypalscriptprovider--default&args=deferLoading:true).
108
+
To learn more, check out the [defer loading example in storybook](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalscriptprovider--default&args=deferLoading:true).
109
109
110
110
#### Tracking loading state
111
111
@@ -131,7 +131,7 @@ return (
131
131
);
132
132
```
133
133
134
-
To learn more, check out the [loading spinner example in storybook](https://paypal.github.io/react-paypal-js/?path=/story/example-paypalbuttons--default&args=showSpinner:true).
134
+
To learn more, check out the [loading spinner example in storybook](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalbuttons--default&args=showSpinner:true).
135
135
136
136
#### Reloading when parameters change
137
137
@@ -164,11 +164,11 @@ return (
164
164
);
165
165
```
166
166
167
-
To learn more, check out the [dynamic currency example in storybook](https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalbuttons--default).
167
+
To learn more, check out the [dynamic currency example in storybook](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalbuttons--with-dynamic-order-state).
168
168
169
169
### PayPalButtons
170
170
171
-
The `<PayPalButtons />` component is [documented in Storybook](https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalbuttons--default).
171
+
The `<PayPalButtons />` component is [documented in Storybook](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalbuttons--default).
172
172
173
173
Here's an example:
174
174
@@ -226,7 +226,7 @@ export default function App() {
226
226
}
227
227
```
228
228
229
-
To learn more about other available props, see the [PayPalButtons](https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalbuttons--default) docs.
229
+
To learn more about other available props, see the [PayPalButtons](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/example-paypalbuttons--default) docs.
230
230
231
231
### BraintreePayPalButtons
232
232
@@ -270,7 +270,7 @@ export default function App() {
270
270
}
271
271
```
272
272
273
-
Check out the docs page for the [BraintreePayPalButtons](https://paypal.github.io/react-paypal-js/?path=/docs/braintree-braintreepaypalbuttons--default) to learn more about the available props.
273
+
Check out the docs page for the [BraintreePayPalButtons](https://paypal.github.io/paypal-js/web-sdk-v5-react-storybook/?path=/story/braintree-braintreepaypalbuttons--default) to learn more about the available props.
-[React Sample Integration](https://github.com/paypal-examples/v6-web-sdk-sample-integration/tree/main/client/prebuiltPages/react/oneTimePayment) - Full working example with Node.js backend
55
+
-[React Sample Integration](https://github.com/paypal-examples/v6-web-sdk-sample-integration/tree/main/client/prebuiltPages/react) - Full working example with Node.js backend
56
56
-[Live Demo](https://v6-web-sdk-sample-integration-server.fly.dev/client/prebuiltPages/react/oneTimePayment/dist/index.html) - Try the sample integration in sandbox mode
57
57
-[PayPal Server SDK](https://www.npmjs.com/package/@paypal/paypal-server-sdk) - For backend integration
0 commit comments