Sha256: d63eec2eafeedbb6111ab127b4a2096ba00924fdc886117295aa952bb412eced
Contents?: true
Size: 499 Bytes
Versions: 17
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true module SolidusPaypalCommercePlatform module Spree module AddressDecorator # PayPal doesn't use the phone number, so in cases where the user checks out via # PayPal, this field will be unpopulated. If you want to require phone numbers, # you'll need to turn off cart & product page displays on the payment method edit # page. def require_phone? super && false end ::Spree::Address.prepend self end end end
Version data entries
17 entries across 17 versions & 1 rubygems