-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add WeChat Pay to checkout #10381
Add WeChat Pay to checkout #10381
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +54 B (0%) Total Size: 1.3 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this looks well and works fine, however I added a few comments that should be addressed.
Another issue that I noticed is that if you just close the modal without authorizing/failing the charge you'll be redirected to /checkout/undefined
, I think that should be fixed in the client/checkout/classic/3ds-flow-handling.js
file.
Thanks @danielmx-dev
I'm planning to handle this in #10385 along with the implementation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well! 👍
Fixes #10103
Changes proposed in this Pull Request
This adds WeChat Pay to checkout.
Testing instructions
Local Server*
Testing requires that the
feat/add-wechat-pay-support
branch is applied on your local server.${site_id}
- your site's ID from the Jetpack connection - you can also get that value from you local table:wcpayserver/wcpay_accounts. wpcom_blog_id
):Currently, you'll be redirected to a generic WooCommerce order received page. Though, the original checkout page will redirect to a fully detailed order received page. This will be address in upcoming issues.
Inspect orders and transaction for appropriate details such as payment method title, logos, order notes, and order status.
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge