1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
Commit Graph

420 Commits

Author SHA1 Message Date
Lars Kusch
d709041ff9 Added views and implement payment 2021-10-05 16:54:34 +02:00
Lars Kusch
125250f62c Added views 2021-10-05 16:39:01 +02:00
David Bomba
e1b64d3515
Merge pull request #6770 from beganovich/v5-720
Mollie: iDEAL
2021-10-05 08:07:59 +11:00
David Bomba
16c88bc2cd
Merge pull request #6744 from beganovich/v5-gocardless-ach
GoCardless
2021-10-05 00:50:04 +11:00
Benjamin Beganović
1d0c09ab6f Authorization 2021-10-04 15:48:13 +02:00
David Bomba
c43804c190 Square SCA 2021-10-03 15:37:47 +11:00
David Bomba
9dafb97663 Square SCA 2021-10-03 15:36:58 +11:00
David Bomba
bb84e96442 Square SCA 2021-10-03 15:36:02 +11:00
David Bomba
dae0442bce Square SCA 2021-10-03 15:32:55 +11:00
David Bomba
a44f3adda0 Square SCA 2021-10-03 15:09:55 +11:00
David Bomba
0099412847 Square SCA 2021-10-03 15:09:12 +11:00
David Bomba
042005bfec Square SCA 2021-10-03 15:07:03 +11:00
David Bomba
04ab6d6252 Square SCA 2021-10-03 15:05:58 +11:00
David Bomba
1ebbf59027 Square SCA 2021-10-03 15:03:39 +11:00
David Bomba
a321134e69 Square SCA 2021-10-03 14:50:01 +11:00
Benjamin Beganović
50c5136eb1 Payments 2021-09-30 08:42:41 +02:00
Benjamin Beganović
3fce0c4609 Checkout.com widget fixes 2021-09-28 17:27:26 +02:00
Benjamin Beganović
6be0255711 Default to empty state for Braintree ACH 2021-09-28 11:30:54 +02:00
Benjamin Beganović
9002b622ae Default to blank country/currency for Stripe ACH 2021-09-28 11:30:50 +02:00
Benjamin Beganović
060b8542a0 Merge remote-tracking branch 'upstream/v5-develop' into v5-mollie-bancontact 2021-09-26 21:09:01 +02:00
Benjamin Beganović
a2a0bcf841 Merge remote-tracking branch 'upstream/v5-develop' into v5-mollie-kbc 2021-09-26 20:55:42 +02:00
Benjamin Beganović
20fa79d51a Authorization 2021-09-24 23:38:33 +02:00
Benjamin Beganović
16f898379c Authorization 2021-09-24 23:07:21 +02:00
Benjamin Beganović
5019933246 Authorization 2021-09-24 20:49:40 +02:00
Benjamin Beganović
3f0847749f
Merge branch 'v5-develop' into v5-689 2021-09-20 08:12:42 +02:00
=
fb61138e73 Square Payment DriveR 2021-09-19 21:10:27 +10:00
Benjamin Beganović
308a742eee Pass payment intent to frontend 2021-09-17 21:01:12 +02:00
David Bomba
a3e0d57133 Add customer to sofort payments 2021-09-15 14:39:34 +10:00
Benjamin Beganović
631814db26 Update form field to use states 2021-08-30 12:28:34 +02:00
Benjamin Beganović
fef4665c5a Extract Javascript into separate file 2021-08-27 17:32:20 +02:00
Benjamin Beganović
2856f36a86 Payment page with token 2021-08-27 17:00:32 +02:00
Benjamin Beganović
760de008f8 Payments without token 2021-08-26 15:46:31 +02:00
Benjamin Beganović
29d56f69d5 Frontend for authorizing ACH 2021-08-26 15:38:28 +02:00
Benjamin Beganović
6186cc1420 Fixes for authorize page 2021-08-19 11:05:06 +02:00
Benjamin Beganović
2065145ffb Extract scripts into separate file 2021-08-18 17:52:32 +02:00
Benjamin Beganović
99da2128d1 Fixes for Javascript 2021-08-18 17:48:02 +02:00
=
c016f5d08a Merge eWay payment driver 2021-08-18 21:21:05 +10:00
Benjamin Beganović
2c6f7dfa6f Payment page script 2021-08-17 14:20:35 +02:00
Benjamin Beganović
e0b0879ed5 Standalone credit card adding 2021-08-17 13:16:58 +02:00
David Bomba
950e0eca20 SEPA 2021-08-16 15:27:01 +10:00
David Bomba
613b649baa Square Test Mode 2021-08-16 11:54:34 +10:00
David Bomba
04a16fca90 Square - pay 2021-08-16 11:11:08 +10:00
David Bomba
7092d66ecd Apple Pay 2021-08-16 10:58:57 +10:00
David Bomba
cde5f527e1 Working on ApplePay 2021-08-16 08:54:11 +10:00
Benjamin Beganović
0a7a056615 Extract scripts to separate file 2021-08-15 16:16:23 +02:00
Benjamin Beganović
393c218c4c Refactor Eway payment page 2021-08-15 16:12:23 +02:00
Benjamin Beganović
f13006d8fd Update translations for frontend 2021-08-15 15:53:34 +02:00
Benjamin Beganović
b91449f727 Add option to pass disabled to pay_now component 2021-08-15 15:47:01 +02:00
Benjamin Beganović
f33a76f96d Refactor Eway authorize page 2021-08-15 15:46:45 +02:00
=
27cdfd24f1 Authorize Credit Card 2021-08-14 21:37:04 +10:00
=
19e9aac12b Square payments authorize 2021-08-14 21:00:52 +10:00
=
5c8976a50f Square payments 2021-08-14 20:09:13 +10:00
=
82a0a311cd Square payments 2021-08-14 20:08:27 +10:00
=
3119efa3da Square payments 2021-08-14 20:07:27 +10:00
=
77c072fd10 Square payments 2021-08-14 19:32:16 +10:00
David Bomba
68c9ee33af fixes for eway 2021-08-12 21:02:12 +10:00
David Bomba
bc81043973 Fixes for Molli 2021-08-11 16:43:20 +10:00
David Bomba
7b73104a45 Merge branch 'paytrace' into v5-develop 2021-08-11 10:03:02 +10:00
Benjamin Beganović
4e6477d441 Show or hide post code in Stripe elements based on company settings 2021-08-09 14:05:39 +02:00
Benjamin Beganović
754ac46017 Require integer & min:1 on ACH verification fields 2021-08-05 13:45:59 +02:00
Benjamin Beganović
69a77cdf08 Production build 2021-08-04 15:00:23 +02:00
Benjamin Beganović
373f169b39 Extract credit card scripts into standalone JS file 2021-08-03 14:27:08 +02:00
Benjamin Beganović
484e6923d4 Remove locale check 2021-08-03 14:05:56 +02:00
Benjamin Beganović
a7d03c23ec Pulling testMode from gateway configuration 2021-08-03 13:59:47 +02:00
Benjamin Beganović
541a1a825f Pay with saved credit card 2021-07-30 16:04:26 +02:00
Benjamin Beganović
8af3cfe737 Pay with credit card and save for future use 2021-07-30 14:36:14 +02:00
Benjamin Beganović
e306278547 Update authentication page 2021-07-30 14:09:29 +02:00
Benjamin Beganović
202cc9d670 wip 2021-07-29 16:15:27 +02:00
Benjamin Beganović
d50c629476 Show a message about preauthorizing credit card 2021-07-29 15:26:01 +02:00
Benjamin Beganović
b7c248eec5
PayTrace improvements (#43)
* Refactor credit card payment JavaScript

* CreditCard.php: Rename $paytrace_driver to $paytrace

* Credit card: Support for token billing (frontend)

* Fixes for "save card" label

* Credit card: Authorize

* Allow PayTrace to be seeded from CreateSingleAccount

* Add PayTrace decrypted config to ninja.testvars

* Extract to separate JavaScript

* Scaffold Dusk test

* CreditCard -> CreditCardTest

* CreditCard -> CreditCardTest

* Scaffold pay with new card test

* Fixes for gateway_key in CreateSingleAccount

* Production builds
2021-07-28 07:59:44 +10:00
David Bomba
8040b0a8f9 eWay Process Payment 2021-07-27 14:03:04 +10:00
David Bomba
99e9d6d977 Change eway implmentation 2021-07-26 13:33:03 +10:00
Benjamin Beganović
a29d4f2075 wip 2021-07-23 14:43:32 +02:00
Benjamin Beganović
8da8bb9b65
wip (#42) 2021-07-23 19:38:49 +10:00
David Bomba
429570227d Confirmed paytrace working EXCEPT pay page 2021-07-23 12:12:42 +10:00
David Bomba
437bb735d6 Working on eWay 2021-07-22 16:05:58 +10:00
David Bomba
b5697966b5 eway 2021-07-22 11:30:16 +10:00
David Bomba
1affdd7754 Pay with CC paytrace 2021-07-21 17:44:35 +10:00
David Bomba
15dd0970d2 Paytrace 2021-07-21 16:27:02 +10:00
David Bomba
f0b232c1a2 Authorize a card with Paytrace 2021-07-21 15:34:20 +10:00
David Bomba
87e1ba48e9 Paytrace integration 2021-07-21 14:23:33 +10:00
David Bomba
0d52d57d41 Paytrace 2021-07-21 10:43:39 +10:00
David Bomba
df7d20fa76 Scaffolding Paytrace 2021-07-21 07:53:11 +10:00
David Bomba
c0287085b5 Scaffolding Paytrace 2021-07-20 21:26:24 +10:00
Benjamin Beganović
2be806bb8e Merge remote-tracking branch 'upstream/v5-develop' into v5-client-portal-tests-dusk 2021-07-12 15:58:53 +02:00
Benjamin Beganović
1ec2630c6c Gateways: Stripe: ACH: Adding ACH account and verifying it 2021-07-07 14:18:36 +02:00
David Bomba
71cb3b5a7a Payment response 2021-07-05 21:15:35 +10:00
David Bomba
d24047374b Minor fixes 2021-07-05 20:50:02 +10:00
David Bomba
6d8aba49d7 Payfast payments 2021-07-05 15:47:27 +10:00
David Bomba
a7076be746 Payment Payment 2021-07-05 15:13:04 +10:00
David Bomba
812b2450ee Fixes for base driver 2021-07-05 14:19:17 +10:00
David Bomba
620ad57d50 merging v5-dev 2021-07-05 09:00:46 +10:00
Benjamin Beganović
342ef656f0 Remove comment 2021-07-01 19:00:01 +02:00
Benjamin Beganović
12611647bc Initialize Javascript with the postcode after fields checking 2021-07-01 18:59:36 +02:00
Benjamin Beganović
5bf942a77e Preselect the first token on WePay ACH payment page 2021-06-28 14:29:54 +02:00
David Bomba
3baa0e3d9a PayFast Webhook URL listener 2021-06-24 19:45:45 +10:00
David Bomba
94c424a15b Fixes for payfast driver 2021-06-24 18:49:53 +10:00
David Bomba
f04291826c Fixes for payfast driver 2021-06-24 18:45:44 +10:00
David Bomba
6f1593a35e Padding our DriverTemplate 2021-06-24 15:51:30 +10:00
David Bomba
15bdb3ff3c Payfast 2021-06-24 15:46:10 +10:00
David Bomba
50749cd2bb Payfast 2021-06-24 14:43:14 +10:00
Benjamin Beganović
db06cca338 Bank account: Authorize 2021-06-21 14:21:38 +02:00
Benjamin Beganović
f160b7e1a9 Credit card: Authorize 2021-06-21 14:04:29 +02:00
Benjamin Beganović
9e146b7ef8 Credit card: Pay 2021-06-21 14:04:24 +02:00
David Bomba
4173cb6903 WePay 2021-06-20 20:24:11 +10:00
David Bomba
2075c4e8c1 Testing WePay payment with Credit Card 2021-06-20 13:36:58 +10:00
David Bomba
1cea863e77 Fixes for credit card payment 2021-06-20 13:06:17 +10:00
David Bomba
e63a7f9875 WePay checkout 2021-06-19 17:31:05 +10:00
David Bomba
d90b884922 WePay process credit/card 2021-06-19 14:58:45 +10:00
David Bomba
3911a58d98 WePay JS 2021-06-19 14:05:45 +10:00
=
6435725d0f Payment layout for wepay credit card 2021-06-19 11:18:57 +10:00
David Bomba
c076998366 Wepay Payments 2021-06-16 20:12:04 +10:00
David Bomba
43ff685543 WePay authorize for Bank Transfer 2021-06-16 16:41:29 +10:00
David Bomba
d4f27bb3ee WePay authorize for Bank Transfer 2021-06-16 13:26:33 +10:00
David Bomba
8fd4a3f202 Authorize credit card 2021-06-15 21:37:16 +10:00
David Bomba
177a4ce58f Working on authorization for WePay 2021-06-15 15:56:23 +10:00
David Bomba
8a217358a8 Fixes for model binding in livewire 2021-06-15 09:47:10 +10:00
David Bomba
95c9eb03a9 merge v5-dev 2021-06-14 20:47:03 +10:00
David Bomba
dc7f4507cd Update .env vars for wepay 2021-06-14 08:33:56 +10:00
=
0bc3ec111d Authorize WePAy 2021-06-13 22:49:43 +10:00
=
62811d968b WePay 2021-06-13 20:37:37 +10:00
David Bomba
a441b3f79e Working on authorization 2021-06-11 18:30:39 +10:00
David Bomba
b111483ef1 We Pay Account Signup 2021-06-11 17:39:51 +10:00
Benjamin Beganović
945250dab8 Hide "Save payment method" on Stripe credit card authorize page 2021-05-29 13:35:06 +02:00
Benjamin Beganović
918a604ed1 wip 2021-05-25 01:37:06 +02:00
Benjamin Beganović
69a7cd9bfc wip 2021-05-21 13:11:01 +02:00
David Bomba
7d245f5ac3 Fixes for Stripe Connect 2021-05-12 00:09:22 +10:00
David Bomba
de02dd810e Fixes for Stripe 2021-05-11 23:44:14 +10:00
David Bomba
3b55161506 Fixes for stripe authorize card 2021-05-11 23:30:56 +10:00
David Bomba
940c44292d Do no show publishable key if using stripe connect 2021-05-11 23:09:21 +10:00
David Bomba
899784cf45 Do not show deleted invoices 2021-05-11 22:03:44 +10:00
David Bomba
334ab5f809 Fixes for stripe authorize card 2021-05-11 21:59:49 +10:00
Benjamin Beganović
f07c911f8b
Merge branch 'v5-develop' into v5-2804-braintree 2021-05-10 16:55:04 +02:00
Benjamin Beganović
98fa636e26 Prefill the postal code for Stripe Elements 2021-05-10 13:01:59 +02:00
Benjamin Beganović
85822c45ac Merge upstream/v5-develop 2021-05-10 11:50:05 +02:00
David Bomba
76dfb475ad We Pay 2021-05-08 12:07:42 +10:00
David Bomba
3c9b096f01 WePay 2021-05-07 15:39:45 +10:00
Benjamin Beganović
7fbb9c9f0f - Set body class on the body
- Show the Canada specific output
2021-05-06 12:03:32 +02:00
=
d3f14887e1 WePay 2021-05-05 20:50:36 +10:00
=
b6c538564e Background 2021-05-05 19:06:55 +10:00
David Bomba
eb54e0705a We Pay logo 2021-05-05 16:51:45 +10:00
David Bomba
d61e7f57a2 Fixes for wepay 2021-05-05 16:21:37 +10:00
David Bomba
8c00bce71b We Pay signup 2021-05-05 14:29:58 +10:00
Benjamin Beganović
78f87a8da0 PayPal authorize page message 2021-05-04 17:25:30 +02:00
Benjamin Beganović
0e905371c5 Extract PayPal's frontend into separate Javascript 2021-05-04 17:22:52 +02:00
Benjamin Beganović
6992216117 wip 2021-05-03 14:10:46 +02:00
Benjamin Beganović
bc23de2ce2 Extract credit cards to separate Javascript 2021-04-29 16:51:28 +02:00
Benjamin Beganović
2ab65b12fa Ability to pay with token 2021-04-29 16:43:59 +02:00
Benjamin Beganović
6cab52fc9f Show "Save card" option for credit card 2021-04-29 11:59:18 +02:00
Benjamin Beganović
d4c51871ef - Update Braintree credit card to use amount_with_fee
- Add amount_with_fee to payment hash
2021-04-29 11:29:28 +02:00
David Bomba
aefd515b4e Fixes for stripe 2021-04-29 18:36:04 +10:00
David Bomba
2039fd0ef5 fixes for stripe 2021-04-29 18:29:03 +10:00
David Bomba
f825b72540 Fixes for stripe 2021-04-29 18:27:06 +10:00
Benjamin Beganović
7d8c135ba7 wip 2021-04-28 15:03:22 +02:00
Benjamin Beganović
9c97421a55 wip 2021-04-28 14:54:50 +02:00
Benjamin Beganović
e77c3492ed wip 2021-04-28 12:54:27 +02:00
David Bomba
20ea334106 Landing page for existing stripe connect acccounts 2021-04-22 23:51:18 +10:00
Benjamin Beganović
255d25d6a6 wip 2021-04-21 16:36:46 +02:00
Benjamin Beganović
bdc564092e wip 2021-04-21 16:36:08 +02:00
David Bomba
1bd1b2ed7c JS Fixes 2021-04-20 22:17:44 +10:00
Benjamin Beganović
5aa30ca582 Add border on stripe elements 2021-03-22 13:13:54 +01:00
Benjamin Beganović
66c81d9b51 wip 2021-02-04 17:19:28 +01:00
Benjamin Beganović
6a972ba378 wip 2021-02-03 16:49:29 +01:00
Benjamin Beganović
e2d1c7ac43
Merge pull request #4778 from beganovich/v5-2701-ach-blank-screen
(v5) ACH: Fix blank screen after payment
2021-01-28 15:45:14 +01:00
Benjamin Beganović
0ff531fafa ACH: Fix white screen
- Pass token hashed_id instead of token value
2021-01-27 13:07:01 +01:00
Benjamin Beganović
84e888863f Authorize.net: Throw a PaymentFailed exception if token not found
Checkout.com: Throw a PaymentFailed exception if token not found
- Show "Client portal" button even when invoice is paid
- Authorize.net: Pass token hashed_id instead of token to frontend
- Checkout.com: Pass token hashed_id instead of token to frontend
- Show "Paid" label for paid invoices
- Translation for not found token
2021-01-27 12:45:38 +01:00
Benjamin Beganović
9f8df64289 - Only show save card component if token billing isn't always
- Only show "Refunded" if amount is > 0
- Stripe: Grab only :checked checkbox
2021-01-26 17:21:12 +01:00
Benjamin Beganović
d537d012a1 fix instance 2021-01-26 13:29:27 +01:00
Benjamin Beganović
fb66bfbe71 wip 2021-01-25 16:46:40 +01:00
Benjamin Beganović
f5f257292c wip 2021-01-25 16:12:21 +01:00
Benjamin Beganović
4930b7b658 wip 2021-01-22 22:49:26 +01:00
Benjamin Beganović
713a95d3b2 ACH (Stripe):
- Pass instance of $gateway to authorize page for fields  verification
- Support for multiple tokens
2021-01-21 15:53:37 +01:00
Benjamin Beganović
056bee1c47 Credit card (Stripe):
- Wrapped Stripe card widget into div
- Default intent option is setup_future_use now
- Support for token billing
2021-01-21 14:03:38 +01:00
Benjamin Beganović
2fccfe2df1 - Rewrite of checkout-credit-card.js
- Fixed bug with detach() on driver class
- Changed the way token checking works from frontend
- Support for multiple payment methods on payment page
- Changed save card label to "Save payment method details"
- Updated relevant Javascript assets
2021-01-20 16:19:01 +01:00
Benjamin Beganović
4413580b39 Add authorize view for SOFORT 2021-01-19 16:07:58 +01:00
Benjamin Beganović
617cc54de9 - Pass instance of AuthorizePaymentDriver.php as $gateway instead of CompanyGateway record
- Define required fields for AuthorizePaymentDriver.php
- Update references to $gateway (CompanyGateway)
- Pass $countries to required-client-info.blade.php
- Handle country submission for required-client-info.blade.php
- Only show non-filled fields in RequiredClientInfo.php
2021-01-19 14:36:07 +01:00
Benjamin Beganović
8ed701519b Change views to authorize.blade & pay.blade
Change structure to use the new one
Add $data to pay now button
2021-01-19 14:03:18 +01:00
Benjamin Beganović
6295a2647d refactor authorize.blade.php 2021-01-19 13:43:03 +01:00
Benjamin Beganović
37f79247ac remove payment options from custom driver 2020-12-10 12:19:13 +01:00
Benjamin Beganović
d45571d7f9 wip 2020-12-09 15:17:48 +01:00
Benjamin Beganović
00ab670d71 Checkout.com migration to Frames:
- Changed cardToken to token in CreditCard reference
- Updated checkout.com.js
- Added "Pay" translation
- Fix issue with switching between token & credt card
2020-12-02 15:33:43 +01:00
David Bomba
a8daa31167 Fixes for authorize 2020-11-26 21:12:36 +11:00
Benjamin Beganović
e4eb70ab1a remove referneces to gateway in cp 2020-11-17 17:23:58 +01:00
Benjamin Beganović
a4de32482c fix translation for authroize buttons 2020-11-17 17:17:28 +01:00
Benjamin Beganović
f50bbd1900 Fix issue with the form 2020-11-02 16:29:02 +01:00
Benjamin Beganović
4c27652545 ACH payments 2020-11-01 19:21:31 +01:00
Benjamin Beganović
1ae2649be6 Stripe ACH authorization & verification 2020-11-01 18:47:48 +01:00
Benjamin Beganović
99c30846ad Stripe: Payments with tokens & error handling 2020-11-01 16:52:37 +01:00
Benjamin Beganović
7e30093429 Checkout.com payments with token:
- Convert "true" from frontend to boolean in PaymentResponseRequest
- Reference correct 'transaction_reference' in BaseDriver & Checkout\Utilities
- Frontend switching between token & credit card when making payments with Checkout.com
- New 'pay_with' translation string
- Added 'save-card--container' to save card partial
- Ensure we show whole transaction reference string in payments/show.blade
2020-11-01 15:56:17 +01:00
Benjamin Beganović
d2e677cb9d Merge remote-tracking branch 'origin/v5-stripe-backend-refactor' into v2-frontend-refactor 2020-11-01 14:49:11 +01:00
Benjamin Beganović
88b428aae0 checkout.com payments using token 2020-10-27 13:44:16 +01:00
Benjamin Beganović
dcb48297fb wip refactor 2020-10-22 15:24:18 +02:00
Benjamin Beganović
b4b6bd3ae0 ach adding & verify, todo: payment 2020-10-20 17:54:08 +02:00
Benjamin Beganović
d26565b5ad stripe alipay 2020-10-20 17:15:55 +02:00
Benjamin Beganović
024d839038 stripe sofort 2020-10-20 17:12:53 +02:00
Benjamin Beganović
cd4ed74d5c set only-authorization to false in pay.blade 2020-10-20 16:09:46 +02:00
Benjamin Beganović
c82e5b2647 stripe adding credit card 2020-10-20 16:08:21 +02:00
Benjamin Beganović
9420f23081 stripe: pay with credit card token & credit 2020-10-20 15:19:21 +02:00
Benjamin Beganović
08501cceb6 stripe credit card 2020-10-20 14:58:48 +02:00
Benjamin Beganović
6af7aa7dc0 checkout: push aditional page 2020-10-19 23:49:17 +02:00