Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var sourceOptions = new StripeSourceCreateOptions
- {
- Type = StripeSourceType.Card,
- Amount = 10 * 100,
- Currency = "hrk",
- Owner = new StripeSourceOwner
- {
- Email = cardEmail.Text,
- Name = cardOwner.Text
- },
- Card = new StripeCreditCardOptions()
- {
- Number = cardNumber.Text,
- ExpirationYear = cardExpYear,
- ExpirationMonth = cardExpMonth,
- Cvc = cardCVC.Text
- }
- };
- StripeSourceService sourceService = new StripeSourceService();
- StripeSource outX = sourceService.Create(sourceOptions);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement