You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
Please note that including `Spree::Core::ControllerHelpers::Common` will replace your application layout with [Spree layout](https://github.com/spree/spree/blob/master/frontend/app/views/spree/layouts/spree_application.html.erb). For applications not wanting to use Spree layout omit the `Spree::Core::ControllerHelpers::Common` module.
100
-
101
98
Each of the methods defined in this module return values that are the most common in Rails applications today, but you may need to customize them. In order, they are:
102
99
103
100
*`spree_current_user` Used to tell Spree what the current user
@@ -172,7 +169,7 @@ Finally, if you are using the API component of Spree, there are more methods add
172
169
173
170
This is only applicable for Spree 4.0 and older. Spree 4.1 and newer releases handle this out of the box.
174
171
175
-
To make the login link appear on Spree pages, you will need to modify `spree/shared/_nav_bar.html.erb` file which you can copy over from Spree codebase to your project \(detailed in [View Customization section](/developer/customization/view.html)\).
172
+
To make the login link appear on Spree pages, you will need to modify `spree/shared/_nav_bar.html.erb` file which you can copy over from Spree codebase to your project \(detailed in [Storefront Customization section](storefront.md)\).
Copy file name to clipboardExpand all lines: customization/checkout.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ def check_registration
45
45
end
46
46
```
47
47
48
-
The configuration of the guest checkout option is done via [Preferences](/developer/internals/preferences.html). Spree will allow guest checkout by default. Use the `allow_guest_checkout` preference to change the default setting.
48
+
The configuration of the guest checkout option is done via [Preferences](../internals/preferences.md). Spree will allow guest checkout by default. Use the `allow_guest_checkout` preference to change the default setting.
49
49
50
50
### Address Information
51
51
@@ -75,7 +75,7 @@ If you do not want to use a gateway with payment profiles then you will need to
75
75
76
76
Spree discards the credit card number after this step is processed. If you do not have a gateway with payment profiles enabled then your card information will be lost before it's time to authorize the card.
77
77
78
-
For more information about payments, please see the [Payments guide](/developer/internals/payments.html).
78
+
For more information about payments, please see the [Payments guide](../internals/payments.md).
79
79
80
80
### Confirmation
81
81
@@ -249,7 +249,7 @@ en:
249
249
250
250
## Payment Profiles
251
251
252
-
The default checkout process in Spree assumes a gateway that allows for some form of thirdparty support for payment profiles. An example of such a service would be [Authorize.net CIM](https://www.authorize.net/our-features/secure-customer-data.html) Such a service allows for a secure and PCIcompliant means of storing the users credit card information. This allows merchants to issue refunds to the credit card or to make changes to an existing order without having to leave Spree and use the gateway provider's website. More importantly, it allows us to have a final "confirmation" step before the order is processed since the number is stored securely on the payment step and can still be used to perform the standard authorization/capture via the secure token provided by the gateway.
252
+
The default checkout process in Spree assumes a gateway that allows for some form of third-party support for payment profiles. An example of such a service would be [Authorize.net CIM](https://www.authorize.net/our-features/secure-customer-data.html) Such a service allows for a secure and PCI-compliant means of storing the user's credit card information. This allows merchants to issue refunds to the credit card or to make changes to an existing order without having to leave Spree and use the gateway provider's website. More importantly, it allows us to have a final "confirmation" step before the order is processed since the number is stored securely on the payment step and can still be used to perform the standard authorization/capture via the secure token provided by the gateway.
253
253
254
254
Spree provides a wrapper around the standard active merchant API in order to provide a common abstraction for dealing with payment profiles. All `Gateway` classes now have a `payment_profiles_supported?` method which indicates whether or not payment profiles are supported. If you are adding Spree support to a `Gateway` you should also implement the `create_profile` method. The following is an example of the implementation of `create_profile` used in the `AuthorizeNetCim` class:
Copy file name to clipboardExpand all lines: customization/logic.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,5 +123,5 @@ end
123
123
124
124
## Replacing Models or Controllers
125
125
126
-
If your customizations are so large that you overwrite majority of a given Model or Controller we recommend to drop the `_decorator` pattern and overwrite the Model or Controller completely in your project. This will make future Spree upgrades easier.
126
+
If your customizations are so large that you overwrite the majority of a given Model or Controller we recommend to drop the `_decorator` pattern and overwrite the Model or Controller completely in your project. This will make future Spree upgrades easier.
0 commit comments