Open jaclync opened 1 day ago
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
App Name | WooCommerce iOS | |
Build Number | pr14479-339f092 | |
Version | 21.1 | |
Bundle ID | com.automattic.alpha.woocommerce | |
Commit | 339f092f049a77d209efcff262889bc870988b80 | |
App Center Build | WooCommerce - Prototype Builds #11693 |
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
Closes: #14478
Why
As we are launching POS to external merchants soon, we want to identify if a transaction is from POS or IPP in the mobile apps for data analysis purposes.
How
As shared in pdfdoF-5QB-p2 > Apps, we want to add a new metadata
ipp_channel: mobile_store_management | mobile_pos
to the payment intent from IPP and POS respectively.I thought about giving the channel parameter a default value of
.storeManagement
, but I'm afraid that this parameter will be forgotten and be the wrong value if we add more use cases in the future. I'm open to adding a default value if you think it will simplify the code though.Steps to reproduce
ipp_channel: mobile_store_management
in the Stripe account (* check instructions below)ipp_channel: mobile_pos
in the Stripe account (* check instructions below)*
How to check the transaction payment intentPrerequisite: you have access to the WooPayments Stripe account (ask in
#payment-operations
if not)MC WCPay
to see the payments info for the siteStripe account details
> Account ID, tap on the link to open the Stripe account (make sure you're logged in to WooPayments in Stripe, with test mode enabled)ipp_channel
and verify the value is as expectedTesting information
I also tested with local server-side changes.
Screenshots
RELEASE-NOTES.txt
if necessary.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: