Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve paddle subscription with options #890

Merged

Commits on Oct 29, 2023

  1. Retrieve paddle subscription with options

    The paddle gem accept the option `extra` when retrieving a subscription.
    
    See: https://github.com/deanpcmad/paddle/blob/83120a9e285cfb5daf36f7f56939e985ab029843/lib/paddle/models/subscription.rb#L11
    
    This change allows Pay::Subscription#processor_subscription
    to pass options to ::Paddle::Subscription.retrieve
    samuelmolinari committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    c30cea9 View commit details
    Browse the repository at this point in the history
  2. Pass options upon retrieving a paddle billing sub

    It enables the following:
    
    ```ruby
    subscription.processor_subscription(
      extra: 'next_transaction'
    )
    ```
    samuelmolinari committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    87983ce View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Update billable.rb

    excid3 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fb97d1a View commit details
    Browse the repository at this point in the history
  2. Update subscription.rb

    excid3 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    da58352 View commit details
    Browse the repository at this point in the history