diff --git a/src/button-react/GooglePayButton.tsx b/src/button-react/GooglePayButton.tsx index 50f9ea1..7d79a83 100644 --- a/src/button-react/GooglePayButton.tsx +++ b/src/button-react/GooglePayButton.tsx @@ -42,8 +42,8 @@ export default class GooglePayButton extends React.Component { async componentDidMount(): Promise { const element = this.elementRef.current; if (element) { + await this.manager.configure(this.props); await this.manager.mount(element); - this.manager.configure(this.props); } }