Fix subscription initial payment method name

This commit is contained in:
Pedro Silva 2024-02-05 18:26:41 +00:00
parent 9f859da8cb
commit 8266e1bce7
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
2 changed files with 11 additions and 2 deletions

View file

@ -326,8 +326,6 @@ const PayPalComponent = ({
};
handleSubscriptionShippingChange = async (data, actions) => {
console.log('--- handleSubscriptionShippingChange', data, actions);
try {
const shippingOptionId = data.selected_shipping_option?.id;
if (shippingOptionId) {