Payments Application For the Galaxy’s Next Big Space Tourism Company, Rapyd starliner
-
For starting the app in your machine, open the terminal and enter these commands:
-
Clone the repo
git clone https://github.com/8mn/rapyd-space-tour.git
cd into working directory
cd rapyd-space-tour
Install dependencies
npm install
You will need to create a firebase project and Replace the following with your app's Firebase project configuration in src/firebase.js
.
const firebaseConfig = {
apiKey: "",
authDomain: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: "",
};
Firebase uses API keys only to identify your app's Firebase project to Firebase services, and not to control access to database or Cloud Storage data, which is done using Firebase Security Rules. For this reason, you do not need to treat API keys for Firebase services as secrets, and you can safely embed them in client code
Run the app on your machine
npm run start
Open http://localhost:3000 in browser to access the app
-
To build Website for an innovative space exploration venture selling tickets for a flight to the stars. The price is $150,000 per seat.
-
The Customer is based in Singapore and the company is based in the US. The high price tag makes accepting credit cards and wire transfers expensive for the business and a hassle for the customer.
-
To solve this, used Rapyd’s virtual accounts API
- Request Virtual Accounts for payments
- See all transactions
- Get a ticket when you complete the payment!
- Use multile currencies other than SGD
- Refund payment options
-
Homepage background Photo by ActionVance on Unsplash
-
Ticket design by oliviale on codepen
-
Satoshi font by Fontshare
-
Space Grotesk font by Google Fonts
If you have any questions/suggestion, Contact me
- My Email:
hey@mnsh.me
- Twitter: @oimanish