• 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 updateSubscroptionRoute
branch: updateSubscroptionRoute
CHANGE BRANCH
x
Reset
  • updateSubscroptionRoute
  • 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
  • fixParameterNameSubscriptionUpdate
  • 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
  • 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
923

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.

Sends the payment method "credit_card" when "card_id" is inform, because the API
require the payment method together to this update.

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.

1169 of 2527 relevant lines covered (46.26%)

5.84 hits per line

Relevant lines Covered
Build:
Build:
2527 RELEVANT LINES 1169 COVERED LINES
5.84 HITS PER LINE
Source Files on updateSubscroptionRoute
  • List 0
  • Changed 126
  • Source Changed 3
  • Coverage Changed 126
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
923 updateSubscroptionRoute 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 05 Jul 2017 04:28PM UTC ThamaraHessel travis-ci pending completion  
910 updateSubscroptionRoute 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 26 Jun 2017 09:49PM UTC ThamaraHessel travis-ci pending completion  
908 updateSubscroptionRoute 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 26 Jun 2017 09:41PM UTC ThamaraHessel travis-ci pending completion  
903 updateSubscroptionRoute 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:39AM 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