- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
I use paypal with reference_transactions for implementing an subsription product type. The commerce_recurring module will organize the recurring payment and gather information of fields "Initial period", "Recurring period", "Initial price" and "recurring price". So far, Nice play with that!
The payment for subscription uses Billing Agreement. The user do initially agree the payment via paypal and authorize paypal system via the BillingAgreement allow the future payments automatically.
In my workflow the "initial period" and "initial price" of subscription comes with an test-period - "Test subscription 30 days for free", after that, the recurring procress should do the regular price and period.
That means, the first transaction to paypal should be a "zero-billing" - in communication with our paypal contact, the "Reference Transaction" provide that workflow in following:
Step 1: GetExpressCheckoutDetails -> provide information about transaction
Step 2: CreateBillingAgreement -> request the agreementId
Step 3: after test-period, do the normal DoExpressCheckoutPayment
In commerce paypal modul the Step 2 is "hard-wired" with DoExpressCheckoutPayment. In my first solution, I've implemented the commerce_paypal_ec_do_agreement(), that will be used instead of commerce_paypal_ec_do_payment().. Triggered by check the amount of payment is zero.
I've looked for doing that in the drupal-way with hook() or with rules, without success.
Closed: outdated
2.0
PayPal EC
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.