• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pagarme / pagarme-php
46%
master: 73%

Build:
Build:
LAST BUILD BRANCH: V3
DEFAULT BRANCH: master
Repo Added 12 Sep 2016 09:37PM UTC
Files 627
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fixParameterNameSubscriptionUpdate
branch: fixParameterNameSubscriptionUpdate
CHANGE BRANCH
x
Reset
  • fixParameterNameSubscriptionUpdate
  • 3.0.2
  • V3
  • add_circleci
  • add_coveralls
  • add_cvv_on_transaction
  • add_sentry
  • change_subscription_cancel
  • deprecated/partial-refund-boleto-amount
  • enable-external-id
  • feature/abstraction-for-transactions-can-be-paid-on-installments
  • feature/add-customer-id-to-transaction-and-subscription-payload
  • feature/add-cvv-to-card-payload
  • feature/add-metadata-when-capture-transaction
  • feature/add-pending-review-status-const
  • feature/add-reference-key
  • feature/add-softdescriptor-to-boleto
  • feature/boleto-async
  • feature/boleto-instructions
  • feature/capture-by-token
  • feature/capture-with-split-rules
  • feature/invoice-reminder-to-plan
  • feature/remove-git-hook
  • feature_balance
  • feature_company
  • feature_event_transactions
  • feature_impl_default_timeout_option
  • fix-building-bulk-anticipation
  • fix/acceptance-tests
  • fix/add-optional-address-data-to-transction
  • fix/api-version
  • fix/balance-constructor
  • fix/bank-account-object-on-transfer-creation
  • fix/boleto-refund
  • fix/bulk-anticipation-tests
  • fix/code-style
  • fix/guzzle-timeout
  • fix/insight-minor
  • fix/issue-248
  • fix/object-manipulation
  • fix/object-types
  • fix/recipient_operations_test
  • fix/request-timeout
  • fix/search-handler-params
  • fix/update-guzzle
  • fix_postbackUrl_null
  • fix_properties_case
  • fix_scrutinizer_issues
  • fix_subscrition_by_card_hash
  • improvement/contributing
  • increase_coverage
  • issue_pr_template
  • other_test
  • postback_validity
  • remove_key_dump
  • revert-107-add_sentry
  • story/customize-headers
  • test
  • test/coverage
  • test/one
  • thamara
  • updateSubscroptionRoute
  • update_readme
  • v3.0
  • v3.0.1
  • v3.0.2
  • v3.0.3
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.1.3
  • v3.3.1
  • v3.3.2
  • v3.4.0
  • v3.5.0
  • v3.6.1
  • v3.7.4
  • v3.7.5
  • v3.7.6
  • v3.7.8
  • v3.7.9

pending completion
901

push

travis-ci

ThamaraHessel
Changes the mandatory parameters to update subscription route

It's not mandatory to send all parameters to the update. It's possible to change,
for instance, only the plan_id without to alter the card or the payment method.
To implement it, we use the "memento pattern" instead to make a new request of the early data subscription.

Changes the "plan_id" parameter name. Use "plan_id" instead of "plan" because the body
of request with "plan" is not accepted by API in the route PUT /subscriptions/:id.

Create methods to load the card, plan and payment method with specific validations
to be attached in the body of the request.

Changes unit tests and creates behaviour tests.

1163 of 2518 relevant lines covered (46.19%)

3.89 hits per line

Relevant lines Covered
Build:
Build:
2518 RELEVANT LINES 1163 COVERED LINES
3.89 HITS PER LINE
Source Files on fixParameterNameSubscriptionUpdate
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
901 fixParameterNameSubscriptionUpdate Changes the mandatory parameters to update subscription route It's not mandatory to send all parameters to the update. It's possible to change, for instance, only the plan_id without to alter the card or the payment method. To implement it, we us... push 24 Jun 2017 03:35AM UTC ThamaraHessel travis-ci pending completion  
See All Builds (712)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc