Sha256: e88b5279fea9e276bd5f7ad4fea3016e1fce529cce2c191545432f494ddc8112
Contents?: true
Size: 900 Bytes
Versions: 5
Compression:
Stored size: 900 Bytes
Contents
#!/bin/bash set -euo pipefail IFS=$'\n\t' bundle install read -r -p 'Do you have an Paysafe Developer account? (y/n) ' has_account if [[ "$has_account" =~ ^(Yes|yes|Y|y)$ ]]; then echo "Great! You can get your account credentials from:" echo " https://login.test.netbanx.com/office/public/preLogin.htm" echo else echo "Then you'll need to create an account first." echo "Click the 'Sign Up' button on the following page:" echo " https://developer.paysafe.com/" echo read -s -p "Press Enter key if you're ready to continue..." echo fi echo "Enter your account credentials below." read -p 'Account Number: ' account_number read -p 'API Key: ' api_key read -p 'API Secret: ' api_secret cp .env.sample .env sed -i '' -e "s/YOUR_ACCOUNT_NUMBER/$account_number/g" .env sed -i '' -e "s/YOUR_API_KEY/$api_key/g" .env sed -i '' -e "s/YOUR_API_SECRET/$api_secret/g" .env echo "Done."
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
paysafe-0.9.4 | bin/setup |
paysafe-0.9.3 | bin/setup |
paysafe-0.9.2 | bin/setup |
paysafe-0.9.1 | bin/setup |
paysafe-0.9.0 | bin/setup |