Skip to content

Commit

Permalink
Merge pull request #336 from StefanWallin/patch-1
Browse files Browse the repository at this point in the history
Update README to clarify redirectUri peculiarity
  • Loading branch information
descorp authored Jan 12, 2024
2 parents f2f3a94 + a66ff7a commit 2c5ef10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ import { AdyenCheckout } from '@adyen/react-native';
import { useCallback } from 'react';

const onSubmit = useCallback( (data, nativeComponent ) => {
/* Call your server to make the `/payments` request */
/* Call your server to make the `/payments` request, make sure you pass `returnUrl:data.returnUrl` to make redirect flow work cross platform */
/* When the API request contains `action`, you should call `component.handle(response.action)` to dismiss the payment UI. */
/* When the API request is completed, you must now call `component.hide(true | false)` to dismiss the payment UI. */
}, [some, dependency]);
Expand Down

0 comments on commit 2c5ef10

Please sign in to comment.