You can test out this extension right away!
-
Go to your Cloud Firestore dashboard in the Firebase console.
-
If it doesn't already exist, create the collection you specified during installation:
${param:FIRESTORE_PATH}
. -
Add a document with information corresponding to your configured PSP. For example:
psp: 'braintree', total: 100, currency: 'USD', paymentToken: <Google Pay API payment token>
-
In a few seconds, you'll see result fields appear in the document.
Note: You can also use the Firebase Admin SDK to add a document:
admin
.firestore()
.collection("${param:FIRESTORE_PATH}")
.add({
psp: 'braintree',
total: 100,
currency: 'USD',
paymentToken: <Google Pay API payment token>
})
.then(() => console.log("Payment request submitted!"));
As a best practice, you can monitor the activity of your installed extension, including checks on its health, usage, and logs.