├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── laravel.yml ├── .gitignore ├── .styleci.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── composer.json ├── config └── shopr.php ├── database ├── factories │ ├── DiscountCouponFactory.php │ ├── OrderFactory.php │ └── ShoppableFactory.php └── migrations │ ├── create_discount_coupons_table.php.stub │ └── create_order_tables.php.stub ├── phpunit.xml.dist ├── resources └── lang │ └── en │ ├── cart.php │ ├── checkout.php │ ├── discounts.php │ └── shoppables.php ├── src ├── Cart │ ├── Cart.php │ ├── CartItem.php │ ├── CartSubItem.php │ └── Drivers │ │ └── SessionCart.php ├── Contracts │ └── Shoppable.php ├── Controllers │ ├── CartController.php │ ├── CartDiscountController.php │ ├── CartItemController.php │ ├── CheckoutController.php │ └── Web │ │ ├── OrderController.php │ │ └── PaymentConfirmationController.php ├── Exceptions │ ├── InvalidGatewayException.php │ └── PaymentFailedException.php ├── Mails │ ├── OrderCreatedAdmins.php │ └── OrderCreatedCustomer.php ├── Middleware │ ├── CartMustHaveItems.php │ ├── EncryptCookies.php │ └── RequireOrderToken.php ├── Models │ ├── DiscountCoupon.php │ ├── Order.php │ ├── OrderItem.php │ └── Shoppable.php ├── Money │ └── Formatter.php ├── Observers │ └── OrderObserver.php ├── PaymentProviders │ ├── PaymentProvider.php │ ├── PaymentProviderManager.php │ └── Stripe.php ├── Routes │ ├── api.php │ └── web.php ├── Rules │ ├── Cart │ │ └── CartNotEmpty.php │ └── Discounts │ │ ├── CartValueAboveCouponLimit.php │ │ ├── CouponExists.php │ │ ├── CouponHasNotBeenApplied.php │ │ ├── DateIsWithinCouponTimespan.php │ │ ├── NotADiscount.php │ │ └── OnlyOneCouponPerOrder.php ├── ShoprServiceProvider.php └── Views │ ├── mails │ └── defaults │ │ ├── order-created-admins.blade.php │ │ ├── order-created-customer.blade.php │ │ └── order-shipped-customer.blade.php │ └── payments │ └── error.blade.php └── tests ├── Feature ├── Cart │ ├── AddCartItemTest.php │ ├── CartControllerTest.php │ ├── RemoveCartItemTest.php │ └── UpdateCartItemTest.php ├── Mails │ ├── OrderCreatedAdminsMailTest.php │ └── OrderCreatedCustomerMailTest.php └── Money │ └── PriceFormattingTest.php ├── REST ├── Checkout │ └── ChargeHttpTest.php └── Discounts │ ├── AddDiscountHttpTest.php │ └── AddDiscountValidationHttpTest.php ├── Support ├── Models │ └── TestShoppable.php ├── Rules │ └── DiscountTestRule.php └── Traits │ ├── InteractsWithCart.php │ └── InteractsWithPaymentProviders.php ├── TestCase.php └── Unit ├── Cart ├── AddCartItemUnitTest.php ├── AddDiscountCouponUnitTest.php ├── CartItemUnitTest.php ├── CartSubItemUnitTest.php ├── CartUnitTest.php ├── ConvertCartToOrderUnitTest.php └── HasDiscountCouponUnitTest.php ├── Money ├── DefaultFormatterTest.php └── FormatterUnitTest.php └── Rules ├── Cart └── CartNotEmptyRuleTest.php └── Discounts ├── CartValueAboveCouponLimitRuleTest.php ├── CouponExistsRuleTest.php ├── CouponHasNotBeenAppliedRuleTest.php ├── DateIsWithinCouponTimespanRuleTest.php └── OnlyOneCouponPerOrderRuleTest.php /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/laravel.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/.github/workflows/laravel.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/.gitignore -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: laravel 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/composer.json -------------------------------------------------------------------------------- /config/shopr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/config/shopr.php -------------------------------------------------------------------------------- /database/factories/DiscountCouponFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/database/factories/DiscountCouponFactory.php -------------------------------------------------------------------------------- /database/factories/OrderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/database/factories/OrderFactory.php -------------------------------------------------------------------------------- /database/factories/ShoppableFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/database/factories/ShoppableFactory.php -------------------------------------------------------------------------------- /database/migrations/create_discount_coupons_table.php.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/database/migrations/create_discount_coupons_table.php.stub -------------------------------------------------------------------------------- /database/migrations/create_order_tables.php.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/database/migrations/create_order_tables.php.stub -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /resources/lang/en/cart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/resources/lang/en/cart.php -------------------------------------------------------------------------------- /resources/lang/en/checkout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/resources/lang/en/checkout.php -------------------------------------------------------------------------------- /resources/lang/en/discounts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/resources/lang/en/discounts.php -------------------------------------------------------------------------------- /resources/lang/en/shoppables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/resources/lang/en/shoppables.php -------------------------------------------------------------------------------- /src/Cart/Cart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Cart/Cart.php -------------------------------------------------------------------------------- /src/Cart/CartItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Cart/CartItem.php -------------------------------------------------------------------------------- /src/Cart/CartSubItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Cart/CartSubItem.php -------------------------------------------------------------------------------- /src/Cart/Drivers/SessionCart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Cart/Drivers/SessionCart.php -------------------------------------------------------------------------------- /src/Contracts/Shoppable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Contracts/Shoppable.php -------------------------------------------------------------------------------- /src/Controllers/CartController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/CartController.php -------------------------------------------------------------------------------- /src/Controllers/CartDiscountController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/CartDiscountController.php -------------------------------------------------------------------------------- /src/Controllers/CartItemController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/CartItemController.php -------------------------------------------------------------------------------- /src/Controllers/CheckoutController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/CheckoutController.php -------------------------------------------------------------------------------- /src/Controllers/Web/OrderController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/Web/OrderController.php -------------------------------------------------------------------------------- /src/Controllers/Web/PaymentConfirmationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Controllers/Web/PaymentConfirmationController.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidGatewayException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Exceptions/InvalidGatewayException.php -------------------------------------------------------------------------------- /src/Exceptions/PaymentFailedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Exceptions/PaymentFailedException.php -------------------------------------------------------------------------------- /src/Mails/OrderCreatedAdmins.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Mails/OrderCreatedAdmins.php -------------------------------------------------------------------------------- /src/Mails/OrderCreatedCustomer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Mails/OrderCreatedCustomer.php -------------------------------------------------------------------------------- /src/Middleware/CartMustHaveItems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Middleware/CartMustHaveItems.php -------------------------------------------------------------------------------- /src/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /src/Middleware/RequireOrderToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Middleware/RequireOrderToken.php -------------------------------------------------------------------------------- /src/Models/DiscountCoupon.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Models/DiscountCoupon.php -------------------------------------------------------------------------------- /src/Models/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Models/Order.php -------------------------------------------------------------------------------- /src/Models/OrderItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Models/OrderItem.php -------------------------------------------------------------------------------- /src/Models/Shoppable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Models/Shoppable.php -------------------------------------------------------------------------------- /src/Money/Formatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Money/Formatter.php -------------------------------------------------------------------------------- /src/Observers/OrderObserver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Observers/OrderObserver.php -------------------------------------------------------------------------------- /src/PaymentProviders/PaymentProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/PaymentProviders/PaymentProvider.php -------------------------------------------------------------------------------- /src/PaymentProviders/PaymentProviderManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/PaymentProviders/PaymentProviderManager.php -------------------------------------------------------------------------------- /src/PaymentProviders/Stripe.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/PaymentProviders/Stripe.php -------------------------------------------------------------------------------- /src/Routes/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Routes/api.php -------------------------------------------------------------------------------- /src/Routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Routes/web.php -------------------------------------------------------------------------------- /src/Rules/Cart/CartNotEmpty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Cart/CartNotEmpty.php -------------------------------------------------------------------------------- /src/Rules/Discounts/CartValueAboveCouponLimit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/CartValueAboveCouponLimit.php -------------------------------------------------------------------------------- /src/Rules/Discounts/CouponExists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/CouponExists.php -------------------------------------------------------------------------------- /src/Rules/Discounts/CouponHasNotBeenApplied.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/CouponHasNotBeenApplied.php -------------------------------------------------------------------------------- /src/Rules/Discounts/DateIsWithinCouponTimespan.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/DateIsWithinCouponTimespan.php -------------------------------------------------------------------------------- /src/Rules/Discounts/NotADiscount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/NotADiscount.php -------------------------------------------------------------------------------- /src/Rules/Discounts/OnlyOneCouponPerOrder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Rules/Discounts/OnlyOneCouponPerOrder.php -------------------------------------------------------------------------------- /src/ShoprServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/ShoprServiceProvider.php -------------------------------------------------------------------------------- /src/Views/mails/defaults/order-created-admins.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Views/mails/defaults/order-created-admins.blade.php -------------------------------------------------------------------------------- /src/Views/mails/defaults/order-created-customer.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Views/mails/defaults/order-created-customer.blade.php -------------------------------------------------------------------------------- /src/Views/mails/defaults/order-shipped-customer.blade.php: -------------------------------------------------------------------------------- 1 |

Your order has been shipped!

2 | 3 |

It should arrive soon.

-------------------------------------------------------------------------------- /src/Views/payments/error.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/src/Views/payments/error.blade.php -------------------------------------------------------------------------------- /tests/Feature/Cart/AddCartItemTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Cart/AddCartItemTest.php -------------------------------------------------------------------------------- /tests/Feature/Cart/CartControllerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Cart/CartControllerTest.php -------------------------------------------------------------------------------- /tests/Feature/Cart/RemoveCartItemTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Cart/RemoveCartItemTest.php -------------------------------------------------------------------------------- /tests/Feature/Cart/UpdateCartItemTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Cart/UpdateCartItemTest.php -------------------------------------------------------------------------------- /tests/Feature/Mails/OrderCreatedAdminsMailTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Mails/OrderCreatedAdminsMailTest.php -------------------------------------------------------------------------------- /tests/Feature/Mails/OrderCreatedCustomerMailTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Mails/OrderCreatedCustomerMailTest.php -------------------------------------------------------------------------------- /tests/Feature/Money/PriceFormattingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Feature/Money/PriceFormattingTest.php -------------------------------------------------------------------------------- /tests/REST/Checkout/ChargeHttpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/REST/Checkout/ChargeHttpTest.php -------------------------------------------------------------------------------- /tests/REST/Discounts/AddDiscountHttpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/REST/Discounts/AddDiscountHttpTest.php -------------------------------------------------------------------------------- /tests/REST/Discounts/AddDiscountValidationHttpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/REST/Discounts/AddDiscountValidationHttpTest.php -------------------------------------------------------------------------------- /tests/Support/Models/TestShoppable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Support/Models/TestShoppable.php -------------------------------------------------------------------------------- /tests/Support/Rules/DiscountTestRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Support/Rules/DiscountTestRule.php -------------------------------------------------------------------------------- /tests/Support/Traits/InteractsWithCart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Support/Traits/InteractsWithCart.php -------------------------------------------------------------------------------- /tests/Support/Traits/InteractsWithPaymentProviders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Support/Traits/InteractsWithPaymentProviders.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/Cart/AddCartItemUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/AddCartItemUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/AddDiscountCouponUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/AddDiscountCouponUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/CartItemUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/CartItemUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/CartSubItemUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/CartSubItemUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/CartUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/CartUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/ConvertCartToOrderUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/ConvertCartToOrderUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Cart/HasDiscountCouponUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Cart/HasDiscountCouponUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Money/DefaultFormatterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Money/DefaultFormatterTest.php -------------------------------------------------------------------------------- /tests/Unit/Money/FormatterUnitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Money/FormatterUnitTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Cart/CartNotEmptyRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Cart/CartNotEmptyRuleTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Discounts/CartValueAboveCouponLimitRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Discounts/CartValueAboveCouponLimitRuleTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Discounts/CouponExistsRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Discounts/CouponExistsRuleTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Discounts/CouponHasNotBeenAppliedRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Discounts/CouponHasNotBeenAppliedRuleTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Discounts/DateIsWithinCouponTimespanRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Discounts/DateIsWithinCouponTimespanRuleTest.php -------------------------------------------------------------------------------- /tests/Unit/Rules/Discounts/OnlyOneCouponPerOrderRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happypixels/laravel-shopr/HEAD/tests/Unit/Rules/Discounts/OnlyOneCouponPerOrderRuleTest.php --------------------------------------------------------------------------------