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

Fix that user cannot use saved-card at the checkout page. Also, better credit card form UI #45

Merged
merged 4 commits into from
Jul 10, 2017

Conversation

guzzilar
Copy link
Contributor

@guzzilar guzzilar commented Jul 4, 2017

1. Objective

WooCommerce html-renderer has been changed in v3.x cause that user cannot use a 'saved-card' to perform a checkout at the checkout page.

Related information:
Related issue(s): No

2. Description of change

  • Correct HTML structure at the credit card form to proper display saved-card list.

  • Also enhance the credit card form UI (basically, makes credit card form UI corresponding to the new Omise.js UI).

    screen shot 2560-07-04 at 6 22 22 pm screen shot 2560-07-04 at 6 21 15 pm screen shot 2560-07-04 at 6 21 35 pm

3. Quality assurance

🔧 Environments:

  • WordPress v4.8
  • WooCommerce v3.0.9
  • PHP v5.6.30

✏️ Details:

3.1. Test create a charge first time with a new-registered user account without saving card
Expectation Charge must be created properly.

3.2. Second time, try create another charge, now, save your card
Expectation Charge must be created properly and a customer object must be created and attach a new card.

3.3. Now, try use the card that you just saved to charge
Expectation Charge must be created properly with your new saved-card.

3.4. Try create another charge. But this time you will choose to 'Create a card using new card' option
Expectation Charge must be created properly.

4. Impact of the change

  • Credit card form UI changed.

  • Need to re-translate labels & texts in the credit card form.

5. Priority of change

High

6. Additional Notes

No.

@guzzilar
Copy link
Contributor Author

👍

@guzzilar guzzilar merged commit 7e100d1 into develop Jul 10, 2017
@guzzilar guzzilar deleted the fix-card-save-issue branch July 10, 2017 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant