Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update payment methods list and edit page to show all stored instruments #1603

Merged
merged 1 commit into from Jan 30, 2020

Conversation

leeBigCommerce
Copy link
Contributor

@leeBigCommerce leeBigCommerce commented Nov 26, 2019

What?

The current payment_methods object within my account is only built to support stored credit cards. Now that we have the option to store PayPal accounts (and likely more in the future)

Tickets / Documentation

Screenshots (if appropriate)

@bigbot
Copy link

bigbot commented Nov 26, 2019

Autotagging @bigcommerce/storefront-team @davidchin

@leeBigCommerce leeBigCommerce force-pushed the PAYMENTS-4944 branch 3 times, most recently from f092f45 to a141a20 Compare November 27, 2019 03:55
@leeBigCommerce
Copy link
Contributor Author

N.B. this should not be merged in until the backend work to fulfil the new object payload has been completed.

Copy link
Contributor

@Tharaae Tharaae left a comment

Choose a reason for hiding this comment

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

I think we need to increase the space between payment method sections (ex. between Credit Card section and Paypal section). I suggest changing margin-top to 2rem instead of 0 in .paymentMethodName class in _paymentMethods.scss

config.json Outdated Show resolved Hide resolved
@Tharaae
Copy link
Contributor

Tharaae commented Dec 23, 2019

@leeBigCommerce
Thanks for applying the comments. Few more changes are requested above, in addition to the suggestion of increasing the space between payment method types sections (ex: between stored credit cards and stored paypal accounts) to clarify that they are different types of stored instruments. Importance of this space will be obvious in case of many stored interments per section. I suggest changing margin-top to 2rem instead of 0 in .paymentMethodName class in _paymentMethods.scss. We can also get further feedback from the design team.
Screen Shot 2019-12-23 at 6 29 15 pm

@leeBigCommerce leeBigCommerce changed the title [WIP] Update payment methods list to show all stored instruments Update payment methods list and edit page to show all stored instruments Dec 30, 2019
@leeBigCommerce leeBigCommerce changed the title Update payment methods list and edit page to show all stored instruments [WIP] Update payment methods list and edit page to show all stored instruments Jan 1, 2020
Copy link

@bc-marquis-ong bc-marquis-ong left a comment

Choose a reason for hiding this comment

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

Looking good @leeBigCommerce. Got minor some minor questions below.

config.json Outdated Show resolved Hide resolved
templates/components/account/payment-methods-list.html Outdated Show resolved Hide resolved
templates/components/account/payment-methods-list.html Outdated Show resolved Hide resolved
@Tharaae
Copy link
Contributor

Tharaae commented Jan 8, 2020

Thanks @leeBigCommerce. All LGTM now 👍
Will approve once the current last testing is completed.

@Tharaae
Copy link
Contributor

Tharaae commented Jan 9, 2020

@leeBigCommerce
One more change please. The grey area in the PayPal account card need to be reduced to match the design on Figma: https://www.figma.com/file/axmkHAat2Y8kzt9JzAI0i2he/PayPal-Vaulting?node-id=9%3A14
Screen Shot 2019-12-23 at 6 29 15 pm

Copy link
Contributor

@Tharaae Tharaae left a comment

Choose a reason for hiding this comment

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

@leeBigCommerce
In the new release, we need to create another copy of american_express.svg named amex.svg to handle this issue:
https://jira.bigcommerce.com/browse/STRF-7869

@leeBigCommerce
Copy link
Contributor Author

https://jira.bigcommerce.com/browse/STRF-7869 will be dealt with in a seperate ticket and PR

@leeBigCommerce leeBigCommerce changed the title [WIP] Update payment methods list and edit page to show all stored instruments Update payment methods list and edit page to show all stored instruments Jan 29, 2020
Tharaae
Tharaae previously approved these changes Jan 30, 2020
Copy link
Contributor

@Tharaae Tharaae left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Tharaae
Copy link
Contributor

Tharaae commented Jan 30, 2020

@leeBigCommerce I approved it but it requires approval of someone with write access.

@bookernath bookernath merged commit e46978a into bigcommerce:master Jan 30, 2020
@mindfriction
Copy link

While this is likely not the appropriate place for this comment, but are you aware of the massive amount of credit card verification attacks that are occurring on this Payment methods page in BigCommerce?

With the ability to simply add Payment methods like this to your Vault (PayPal/Braintree), hackers use this functionality and script out the action of adding payment methods with their lists of stolen credit cards, and use it to verify things like zip code, cvv, etc.

The card won't be stored to the vault and added to Payment methods list, unless it is verified by the payment processor first. So they use their scripts to just keep trying add cards using different CVVs, zip codes, etc. until it is verified and added. This way, they can verify large lists of stolen credit cards, and use it to figure out the CVV or zip code if they don't have it.

A group of hackers were trying to verify over 30,000+ credit cards a day on my Bigcommerce store using this functionality and BigCommerce has no way to protect against this. I was forced to disable the form submit button to prevent this from occurring.

Can you consider implementing a recaptcha to protect against this? The native Bigcommerce recaptchas don't protect this area of the store, only things like contact forms, review forms, login, and checkout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants