CARD | |
Number: | ++ + | +
Exp. Month: | ++ + | +
Exp. Year: | ++ + | +
CVC: | ++ + | +
Client-side Validation: |
+ + + | +
STRIPE |
+ ||
Publishable Key: | ++ + | ++ + | +
+ | ||
+ |
BRAINTREE |
+ |||||||||||||
+
+
+
+ Server-side
+
+ Server-side is responsible for generation client tokens.
+ In case of .NET server SDK can be found in .NET SDK.
+ Below is a .NET server-side implementation contains server's private information shown here for a testing purposes only.
+ You should never expose private tokens on your client-side.
+
+
+ var gateway = new BraintreeGateway
+ + { +
+ Environment = Braintree.Environment.SANDBOX,
+ };+ MerchantId = "qc4hnd8qh7n32zj5", + PublicKey = "f5jhgpmmxmzmdvjf", + PrivateKey = "7b51b94780d0b01e9a162054fa8f8126" + + var clientToken = gateway.ClientToken.generate(); + |
+
|
+