[Skip to main content](#vessel-content)

#   Stripe Connect 1.2.5 – PaymentIntent "charges" property removed in pinned API

##

- **[ShepherdsStream](/forum/user/82405-shepherdsstream "View ShepherdsStream's Profile")**
- [![ShepherdsStream's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82405-shepherdsstream "View ShepherdsStream's Profile") Topic Author
- [ Away](/forum/user/82405-shepherdsstream)

Less More

- Posts: 24
- Thank you received: 2
-
-

2 hours 36 minutes ago [\#100000920](#100000920) by [ShepherdsStream](/forum/user/82405-shepherdsstream "View ShepherdsStream's Profile")  *[Stripe Connect 1.2.5 – PaymentIntent "charges" property removed in pinned API](/forum/25-install-update/100000200-stripe-connect-1-2-5---paymentintent-charges-property-removed-in-pinned-api#100000920 "-- url of the page with the problem -- :   shepherdsstream.org  -- HikaShop version -- : HikaShop Business 6.8.2 &#91;2611112047&#93; -- Joomla version -- : 6.2.2 -- PHP version -- : 8.3.37 -- Browser(s) name and version -- : Chrome 158.0  Hello HikaShop / Obsidev team,  We recently updated our marketplace to use the Stripe Connect Accounts v2 API for vendor onboarding, and we are writing about some issues we found in the Stripe Connect payment plugin (version 1.2.5) while reviewing it alongside that update.  Our setup: HikaShop Business 6.7.1, HikaMarket Multivendor 6.1.1, Joomla 6.2.  PaymentIntent &quot;charges&quot; property removed in the pinned API version  stripeconnectclass.php sets &#92;Stripe&#92;Stripe::setApiVersion('2022-11-15'), but that API version removed the &quot;charges&quot; property from the PaymentIntent object (it was replaced by &quot;latest&#95;charge&quot;). Because the plugin still reads $intent-&gt;charges:  processIntentOutcome() always returns early, so blocked or elevated-risk outcomes are never detected and orders are set to the verified status. processPaymentVendors() never sets source&#95;transaction on vendor transfers and falls back to transfer&#95;group, so the transfers draw on the platform's available balance.  Could these be fixed by retrieving the PaymentIntent with expand: and reading the charge from there?  Undefined variable in maintainPaymentIntent()  In stripeconnect.php (around line 240), maintainPaymentIntent() uses $now without defining it, so the expiry check for token mode never runs.  Accounts v2 support  Our connected accounts are created through the Accounts v2 API with the merchant configuration (direct charges). Are there plans to update the plugin to a current Stripe library and API version, and to support v2 accounts, including the recipient configuration needed for destination charges and multi-vendor transfers?  Thank you for your help. We're happy to provide more details or test a fix.")* was created by *[ShepherdsStream](/forum/user/82405-shepherdsstream "View ShepherdsStream's Profile")*

-- url of the page with the problem -- : [ shepherdsstream.org](https://shepherdsstream.org)
-- HikaShop version -- : HikaShop Business 6.8.2 [2611112047]
-- Joomla version -- : 6.2.2
-- PHP version -- : 8.3.37
-- Browser(s) name and version -- : Chrome 158.0

Hello HikaShop / Obsidev team,

We recently updated our marketplace to use the Stripe Connect Accounts v2 API for vendor onboarding, and we are writing about some issues we found in the Stripe Connect payment plugin (version 1.2.5) while reviewing it alongside that update.

Our setup: HikaShop Business 6.7.1, HikaMarket Multivendor 6.1.1, Joomla 6.2.

PaymentIntent "charges" property removed in the pinned API version

stripeconnectclass.php sets \Stripe\Stripe::setApiVersion('2022-11-15'), but that API version removed the "charges" property from the PaymentIntent object (it was replaced by "latest_charge"). Because the plugin still reads $intent-&gt;charges:

processIntentOutcome() always returns early, so blocked or elevated-risk outcomes are never detected and orders are set to the verified status.
processPaymentVendors() never sets source_transaction on vendor transfers and falls back to transfer_group, so the transfers draw on the platform's available balance.

Could these be fixed by retrieving the PaymentIntent with expand: and reading the charge from there?

Undefined variable in maintainPaymentIntent()

In stripeconnect.php (around line 240), maintainPaymentIntent() uses $now without defining it, so the expiry check for token mode never runs.

Accounts v2 support

Our connected accounts are created through the Accounts v2 API with the merchant configuration (direct charges). Are there plans to update the plugin to a current Stripe library and API version, and to support v2 accounts, including the recipient configuration needed for destination charges and multi-vendor transfers?

Thank you for your help. We're happy to provide more details or test a fix.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzEwMDAwMDIwMC1zdHJpcGUtY29ubmVjdC0xLTItNS0tLXBheW1lbnRpbnRlbnQtY2hhcmdlcy1wcm9wZXJ0eS1yZW1vdmVkLWluLXBpbm5lZC1hcGk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
