feat: add deposit with stripe (CAS-28) #23

Merged
csimonis merged 12 commits from feat/stripe into main 2025-02-13 10:12:50 +00:00
2 changed files with 14 additions and 4 deletions
Showing only changes of commit 7b020aee75 - Show all commits

View File

@ -4,9 +4,18 @@
</div> </div>
<div class="mb-4"> <div class="mb-4">
<label for="amount" class="block text-sm font-medium text-gray-700">Betrag</label> <label for="amount" class="block text-sm font-medium text-gray-700">Betrag</label>
<input type="number" id="amount" formControlName="amount" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm text-black bg-white" /> <input
type="number"
id="amount"
formControlName="amount"
class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm text-black bg-white"
/>
</div> </div>
<button type="button" (click)="submit()" class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> <button
type="button"
(click)="submit()"
class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
>
Einzahlen Einzahlen
</button> </button>
</form> </form>
jank1619 marked this conversation as resolved
Review

where screenshot

where screenshot
Review

ask your mom

ask your mom

View File

@ -1,3 +1,4 @@
export const environment = { export const environment = {
STRIPE_KEY: 'pk_test_51QrePYIvCfqz7ANgMizBorPpVjJ8S6gcaL4yvcMQnVaKyReqcQ6jqaQEF7aDZbDu8rNVsTZrw8ABek4ToxQX7KZe00jpGh8naG', STRIPE_KEY:
} 'pk_test_51QrePYIvCfqz7ANgMizBorPpVjJ8S6gcaL4yvcMQnVaKyReqcQ6jqaQEF7aDZbDu8rNVsTZrw8ABek4ToxQX7KZe00jpGh8naG',
};