Tap & Pay API Documentation
The copy warned the Little Blind Text, that where it came from it would have been rewritten a thousand times and everything that was left from its origin would be the word "and" and the Little Blind Text should turn around and return to its own, safe country.
Getting Started
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life.
$ npm install tap-and-pay.1.0.1
$ gem install tap-and-pay -v 1.0.1
Download
Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia.
Setup and Installation
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen.
// Private key
var privateKey = get('BQokikJOvBiI2HlWgH4olfQ2');
// Create a payment
var payment = charge({
key: privateKey,
amount: 599,
currency: 'usd',
source: 'visa',
description: 'My first payment'
});
// Authorize Payment
@IBAction func authorizePayment(_ sender: AnyObject) {
let paymentViewController = paymentViewController(configuration: paymentConfig, delegate: self)
present(paymentViewController!, animated: true, completion: nil)
}
// Cancel Payment
func paymentDidCancel(_ paymentViewController: PaymentViewController) {
print("Payment Cancelled")
resultText = ""
successView.isHidden = true
paymentViewController.dismiss(animated: true, completion: nil)
}
// Private key
PaymentsApi.PRIVATE_KEY = "BQokikJOvBiI2HlWgH4olfQ2";
// Create a payment
Payment payment = Payment.create(new PaymentsMap()
.set("currency", "USD")
.set("token", "f21da65e-f0ab-45cb-b8e6-40b493c3671f")
.set("amount", 599)
.set("description", "My first payment")
);
// Open Payment Screen
- (IBAction)btnStripeTapped:(id)sender{
PaymentViewController *paymentViewController = [[PaymentViewController alloc] initWithNibName:nil bundle:nil];
paymentViewController.amount = [NSDecimalNumber decimalNumberWithString:@"1.50"];
paymentViewController.delegate = self;
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:paymentViewController];
[self presentViewController:navController animated:YES completion:nil];
}
Addons
Separated they live in Bookmarksgrove right at the coast of the Semantics.
Code Example
Separated they live in Bookmarksgrove right at the coast of the Semantics.
/* Authorize Payment */
@IBAction func authorizePayment(_ sender: AnyObject) {
let paymentViewController = paymentViewController(configuration: paymentConfig, delegate: self)
present(paymentViewController!, animated: true, completion: nil)
}
/* Cancel Payment */
func paymentDidCancel(_ paymentViewController: PaymentViewController) {
print("Payment Cancelled")
resultText = ""
successView.isHidden = true
paymentViewController.dismiss(animated: true, completion: nil)
}
Important Notice
Until a few insidious Copy Writers ambushed her, made her drunk with Longe and Parole and dragged her into their agency.
Remember!
The copy warned the Little Blind Text, that where it came from it would have been rewritten a thousand times and everything that was left from its origin would be the word "and" and the Little Blind Text should turn around and return to its own, safe country.
What's next
Far far away, behind the word mountains.
Téléchargez Tap And Pay Maintenant
Sur Google Playstore et App store 100% free