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
Also, how do you get the nonce and chargeAmount when you implement your own method? Your example shows an HTTP get, when the code shows a post to the url.
#108
Also, how do you get the nonce and chargeAmount when you implement your own method? Your example shows an HTTP get, when the code shows a post to the url.
EDIT: looks like the sample code was coppied and pasted from getClientToken
The method signature of your custom method can take the nonce and chargeAmount as arguments which gets populated for you
e.g. purchase = (nonce: string, chargeAmount: number): Observable<any> => { return this.braintreeService.purchase(nonce, chargeAmount); }
Also, how do you get the nonce and chargeAmount when you implement your own method? Your example shows an HTTP get, when the code shows a post to the url.
EDIT: looks like the sample code was coppied and pasted from
getClientToken
Originally posted by @westlakem in #82 (comment)
The text was updated successfully, but these errors were encountered: