Apple Pay iOS App demonstrating how to integrate to Vantiv Integrated Payments
-
Vantiv Integrated Payments Cert Account
- Tokenization Enabled
- WebServices Enabled
-
- EWSv4 Support
-
Set up Apple Pay in developer account
-
Create merchant id/app id
-
Install Xcode - Currently using 8.1
Following are needed for locally simulating a merchant server for the app to communicate with.
Execute commands from the Terminal.
If it asks you to install XCode CommandLine Tools, say yes.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
gem install sinatra
Update auth
with Base64 encoded credentials provided by Vantiv Integrated Payments
ruby merchant_server.rb
NOTE: Use control+c
to quit the web server
-
Update
Settings.plist
with values formerchantServerAddress
- this will be the external ip address of the machine running themerchant_server.rb
scriptpaypageId
- provided by Vantiv Integrated Payments
-
Must run app on iOS device with ApplePay support
-
Device must be on same network as machine running
merchant_server.rb
script
Apple Pay Development Information