-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!:stripe connect and stripe payment routing (#7)
- Loading branch information
1 parent
b1f83a6
commit ed42324
Showing
29 changed files
with
1,724 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import PageContainer from "~/components/PageContainer/PageContainer"; | ||
|
||
const StripeConnectPage = () => { | ||
return ( | ||
<PageContainer> | ||
<h1>Stripe Connect doc page</h1> | ||
</PageContainer> | ||
); | ||
}; | ||
|
||
export default StripeConnectPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import PageContainer from "~/components/PageContainer/PageContainer"; | ||
|
||
const StripePaymentCustomerCreatePage = () => { | ||
return ( | ||
<PageContainer> | ||
<h1 className="font-bold text-4xl">Create customer</h1> | ||
</PageContainer> | ||
); | ||
}; | ||
|
||
export default StripePaymentCustomerCreatePage; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ReactNode } from "react"; | ||
import Aside from "~/app/stripe-payment/views/Aside"; | ||
|
||
export interface LayoutProps { | ||
children: ReactNode; | ||
} | ||
|
||
const Layout = ({ children }: LayoutProps) => { | ||
return ( | ||
<div className="grid grid-cols-[256px_1fr_256px]"> | ||
<Aside /> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Layout; |
4 changes: 2 additions & 2 deletions
4
...app/(stripe)/add-payment-methods/page.tsx → ...e-payment/payment-methods/create/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nt-methods/views/Form/newPaymentMethod.ts → ...ods/create/views/Form/newPaymentMethod.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ripe)/add-payment-methods/views/index.tsx → ...nt/payment-methods/create/views/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
.../(stripe)/delete-payment-methods/page.tsx → ...e-payment/payment-methods/delete/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...e)/delete-payment-methods/views/index.tsx → ...nt/payment-methods/delete/views/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
...app/(stripe)/get-payment-methods/page.tsx → ...ipe-payment/payment-methods/list/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ripe)/get-payment-methods/views/index.tsx → ...ment/payment-methods/list/views/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.