Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Disable PayPal messaging when vault flow is enabled #278

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

seand7565
Copy link
Contributor

@seand7565 seand7565 commented Nov 2, 2020

PayPal doesn't want you to use the messaging component when vault flow
is being used. This disables the default messaging component when vault
flow is on, and defaults the component to disabled (since the extensions
defaults to vault flow: true)

PayPal doesn't want you to use the messaging component when vault flow
is being used. This disables the default messaging component when vault
flow is on, and defaults the component to disabled (since the extensions
defaults to vault flow: true)
@seand7565 seand7565 marked this pull request as ready for review November 5, 2020 14:59
@@ -8,7 +8,7 @@ class Configuration < ::Spree::Base
label: { availables: %w[checkout credit pay buynow paypal installment], default: 'checkout' },
tagline: { availables: %w[true false], default: 'false' },
layout: { availables: %w[horizontal vertical], default: 'horizontal' },
messaging: { availables: %w[true false], default: 'true' }
messaging: { availables: %w[true false], default: 'false' }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's disabled by default, should we explain in the readme how to enable messaging?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this to the paypal financing messaging section:

To enable this option, you'll need to use the `checkout` flow, and set the `paypal button messaging` option to `true` in your Braintree configuration.

Does that work?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, sorry!

@kennyadsl kennyadsl merged commit 720f2d1 into solidusio:master Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants