@spree/docs 0.1.59 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -163,7 +163,7 @@ Use the resultCode to inform your shopper about the current payment status.
|
|
|
163
163
|
Possible resultCode values:
|
|
164
164
|
- `authorised` - payment authorised
|
|
165
165
|
- `refused` - payment refused
|
|
166
|
-
- `pending` - payment pending (for payments with asynchronous flow like iDEAL). When the shopper completes the payment webhook will process
|
|
166
|
+
- `pending` - payment pending (for payments with asynchronous flow like iDEAL). When the shopper completes the payment webhook will process the payment.
|
|
167
167
|
- `cancelled` - payment canceled
|
|
168
168
|
- `received` - some payments needs more time to be processed. When the status is available webhook will process the payment
|
|
169
169
|
- `error` - an error occurred when processing the payment. The response contains more details with the error code
|
|
@@ -53,7 +53,7 @@ This will render a WYSIWYG editor to the brand description field in the Admin da
|
|
|
53
53
|
|
|
54
54
|
## Step 3: Update permitted parameters in controller
|
|
55
55
|
|
|
56
|
-
To permit the `description` attribute to be saved, we need to update the permitted parameters in the controller
|
|
56
|
+
To permit the `description` attribute to be saved, we need to update the permitted parameters in the controller file and add the following code:
|
|
57
57
|
|
|
58
58
|
```ruby app/controllers/spree/admin/brands_controller.rb {9}
|
|
59
59
|
module Spree
|