Skip to content

Bump xendit/xendit-php from 2.19.0 to 7.0.0#48

Merged
mokesano merged 3 commits into
mainfrom
dependabot/composer/xendit/xendit-php-7.0.0
Jun 2, 2026
Merged

Bump xendit/xendit-php from 2.19.0 to 7.0.0#48
mokesano merged 3 commits into
mainfrom
dependabot/composer/xendit/xendit-php-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Copy link
Copy Markdown
Contributor

Bumps xendit/xendit-php from 2.19.0 to 7.0.0.

Release notes

Sourced from xendit/xendit-php's releases.

7.0.0

  • CreateInvoiceAPI field invoice_duration type change from string to number

6.4.0

  • Add new channel GOPAY for Invoice

6.3.0

  • fix: HTTP Response error check

6.2.0

  • Fix incorrect field name for channel_properties.cards.installment_configuration.allowed_terms.terms

6.1.0

  • Adding new currency and bank codes enum in Invoice
  • Add new field installment_configuration in Invoice
  • Add HTTP Response parsing error check in xendit-go

6.0.0

  • [Payment Methods] EWallet Channel Properties: New fields pending_return_url and promotion_label
  • [Payment Methods] Direct Debit Channel Code: BNI enum changed to BNI_AUTOPAY
  • [Payment Methods] Direct Debit Channel Properties New fields destination_account_id
  • [Payment Methods] Card Channel Properties: New fields installment_configuration and merchant_id_tag
  • [Payment Methods] New Error Code enums
  • [Payment Requests] New XP Header with-split-rule
  • [Payment Requests] Channel Properties: New fields pending_return_url and installment_configuration
  • New channel codes for Direct Debit, Virtual Account, QR, and Card

5.0.0

  • Add simulatePaymentRequestPayment API in payment-request
  • Add pending_return_url field in ewallet payment method

4.3.0

  • Add field channel_properties.cards.allowed_bins: array of string in Invoice Object
  • Add field channel_properties.cards.installment: object in Invoice Object

4.2.0

  • Fix RefundCallbackData Object, rename payment_request_id to payment_id

4.1.0

  • Fix PaymentCallback failure_code field type to String
  • Add MOMO, ZALOPAY, VIETTELPAY, VNPTWALLET, APPOTA to Invoice EwalletType
  • Add BNC, HANA, MUAMALAT to Payment Request VirtualAccountChannelCode
  • Add QRIS Payment Request QRCodeChannelCode

4.0.0

  • Update Invoice field amount to float64

3.7.0

  • Add PaymentCallback object in PaymentRequest module
  • Add PaymentMethodCallback object in PaymentMethod module

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [xendit/xendit-php](https://github.com/xendit/xendit-php) from 2.19.0 to 7.0.0.
- [Release notes](https://github.com/xendit/xendit-php/releases)
- [Commits](xendit/xendit-php@2.19.0...7.0.0)

---
updated-dependencies:
- dependency-name: xendit/xendit-php
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 6, 2026

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR attempts to bump the xendit/xendit-php dependency across five major versions (from 2.19.0 to 7.0.0). However, the PR currently contains no code changes to address the significant breaking changes introduced in these versions. Specifically, requirements such as shifting the 'invoice_duration' field from a string to an integer, renaming 'BNI' to 'BNI_AUTOPAY', and handling the 'amount' field as a float are entirely missing.

While Codacy results indicate the PR is 'up to standards', this is a false positive resulting from the empty diff which provides no new code for analysis. Merging this PR in its current state will lead to API validation failures and runtime exceptions.

About this PR

  • The diff provided for this PR is empty. Please ensure that updates to composer.json and composer.lock, along with the necessary code adaptations for the new SDK, are correctly staged and pushed.
  • This PR jumps five major versions (2.x to 7.x) without any corresponding code updates. The release notes for these versions include critical breaking changes, such as enum renames and type shifts, that are required for the application to function with the new SDK version.

Test suggestions

  • Verify CreateInvoiceAPI accepts and processes 'invoice_duration' as a number.
  • Verify Direct Debit transactions use 'BNI_AUTOPAY' instead of 'BNI'.
  • Verify Invoice 'amount' parsing and storage correctly handles float values.
  • Verify eWallet channel properties handle the new 'pending_return_url' and 'promotion_label' fields.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify CreateInvoiceAPI accepts and processes 'invoice_duration' as a number.
2. Verify Direct Debit transactions use 'BNI_AUTOPAY' instead of 'BNI'.
3. Verify Invoice 'amount' parsing and storage correctly handles float values.
4. Verify eWallet channel properties handle the new 'pending_return_url' and 'promotion_label' fields.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@codacy-production

codacy-production Bot commented May 15, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@mokesano mokesano self-assigned this May 15, 2026
@mokesano mokesano merged commit c574a76 into main Jun 2, 2026
11 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in wizdam-fork Jun 2, 2026
@mokesano mokesano deleted the dependabot/composer/xendit/xendit-php-7.0.0 branch June 2, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant