Commit fbe9899
authored
forte payment (#405)
* added fetchForteAccessToken and createPaymentIntent endpoint
* add usePaymentIntent flow
* forte config
* openSea testnet
* forte integration opensea
* payment status checking
* pass selleraddress to payment intent
* widget data
* changed test input for opensea tx
* fixed widget data
* return null from the widget loader
* response.ok check
* fix for forte widget implementation
* Forte payment controller (WIP)
* initialize fortepayment from the controller
* forte orderHash
* different types for different payment configs
* added magic eden payment intent
* linter fixes
* mint configs for forte
* updated forte info for mints
* calldata fix
* added config for custom evm call
* forte contract address
* forte settings
* payment modal presets
* orderbook transaction data
* config update
* removal of magic eden for forte
* structure call data for forte paymetns
* orderbook integration
* fixed onSuccess params
* fixed forte flow not starting
* added approvedspender field
* styles
* added settings for checkout
* fixes related to approvedSpender address
* fixes to configuration
* fixed body to work with sequence api
* integration with sequence backend for forte
* clean up
* prevent onSuccess callback from being called multiple times
* improve error messages
* custom_evm_call fixes
* added seller as targetContracts for mints
* used seller from forteconfig
* fixed the apiUrl
* pass project access key to forte endpoints
* updated dev access key
* updated project access key for dev environmnet
* fix linter errors
* removed dedicated seaport forteconfig option
* wait for FortePaymentsWidgetLoaded even before opening the modal
* checkout in demo defaults to forte1 parent 72046b6 commit fbe9899
File tree
24 files changed
+1433
-263
lines changed- examples/react/src
- components
- CustomCheckout
- utils
- packages
- checkout
- src
- api
- components/SequenceCheckoutProvider
- contexts
- hooks
- views
- Checkout/PaymentMethodSelect/PayWithCreditCard
- PaymentSelection/PayWithCreditCard
- TransactionStatus
- connect/src
- connectors/epic
- wallet-widget/src/views/CollectibleDetails
24 files changed
+1433
-263
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
| 416 | + | |
473 | 417 | | |
474 | 418 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 419 | | |
480 | | - | |
481 | | - | |
482 | | - | |
| 420 | + | |
483 | 421 | | |
484 | 422 | | |
485 | | - | |
| 423 | + | |
486 | 424 | | |
487 | | - | |
| 425 | + | |
488 | 426 | | |
489 | 427 | | |
490 | 428 | | |
| |||
493 | 431 | | |
494 | 432 | | |
495 | 433 | | |
496 | | - | |
| 434 | + | |
497 | 435 | | |
498 | 436 | | |
499 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
0 commit comments