Show local branches
git branch
Show remote branches
| curl https://api.stripe.com/v1/checkout/sessions \ | |
| -u sk_test_: \ | |
| -d success_url="https://example.com/success" \ | |
| -d cancel_url="https://example.com/cancel" \ | |
| -d "line_items[0][price_data][currency]"="sgd" \ | |
| -d "line_items[0][price_data][product_data][name]"="School Fees" \ | |
| -d "line_items[0][price_data][unit_amount]"="300000" \ | |
| -d "line_items[0][quantity]"="1" \ | |
| -d "line_items[1][price_data][currency]"="sgd" \ | |
| -d "line_items[1][price_data][product_data][name]"="Convenience Fee" \ |
| curl https://api.stripe.com/v1/accounts \ | |
| -u sk_test_: \ | |
| -d country=SG \ | |
| -d type=custom \ | |
| -d "capabilities[card_payments][requested]"=true \ | |
| -d "capabilities[transfers][requested]"=true | |
| // Get account ID (acct_xxxxxx) from prior call | |
| curl https://api.stripe.com/v1/account_links \ |
| curl -X POST https://api.stripe.com/v1/customers \ | |
| -u sk_test_: | |
| // Beta | |
| curl https://api.stripe.com/v1/setup_intents \ | |
| -u sk_test_: \ | |
| -d "payment_method_options[card][mandate_options][reference]"="reference" \ | |
| -d "payment_method_options[card][mandate_options][description]"="description" \ | |
| -d "payment_method_options[card][mandate_options][amount]"=100000 \ | |
| -d "payment_method_options[card][mandate_options][amount_type]"="maximum" \ |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Sign Up</title> | |
| <!-- Compiled and minified CSS --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css"> | |
| <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
| <!-- Compiled and minified JavaScript --> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js"></script> |
| 'use strict'; | |
| import angular from 'angular'; | |
| import Firebase from 'firebase'; | |
| import {spfShared} from '../module.js'; | |
| /** | |
| * spfFirebaseRef return a Firebase reference to singpath database, | |
| * at a specific path, with a specific query; e.g: | |
| * |