My application was working, but after the last update it stopped working. #95
Unanswered
leofvasconcellos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It looks like you've started using the For Angular you need to use Example: https://stackblitz.com/edit/google-pay-angular-ifuwib <google-pay-button
[paymentAuthorizedCallback]="onPaymentAuthorized"
></google-pay-button> paymentRequest = {
apiVersion: 2,
apiVersionMinor: 0,
// ...
callbackIntents: ['PAYMENT_AUTHORIZATION']
};
onPaymentAuthorized(data) {
console.log('authorized', data);
return {
transactionState: 'SUCCESS'
};
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using Ionic, Angular and Cordova.
My application was working, but after the last update it stopped working.
My .module
![image](https://user-images.githubusercontent.com/6004173/126546078-2332e7d9-18a9-48ed-aaae-c17fbbadfcf1.png)
My. Page
![image](https://user-images.githubusercontent.com/6004173/126546170-386b98a0-9848-4571-9557-a7b929e07606.png)
My ts.code
![image](https://user-images.githubusercontent.com/6004173/126546242-ab7f2eac-7177-4b8c-baa5-16cee7c98232.png)
When I open my window, on console:
![image](https://user-images.githubusercontent.com/6004173/126547472-dc6612e3-b831-4c35-a18f-0f5baeba10cd.png)
Before clicking the button:
![image](https://user-images.githubusercontent.com/6004173/126547653-2976d658-468c-4cf4-a032-8010f16d04f4.png)
After clicking the button:
![image](https://user-images.githubusercontent.com/6004173/126547987-9e6e54b4-a6ea-4fd8-a792-bb8cc39a5f4f.png)
![image](https://user-images.githubusercontent.com/6004173/126548043-35cc252b-a3dd-4bef-9f8a-3329a7873495.png)
![image](https://user-images.githubusercontent.com/6004173/126548235-029ad900-c953-4788-9caf-093a9974f5eb.png)
Beta Was this translation helpful? Give feedback.
All reactions