capynet / DrupalPayPalRecurrringPayment

2 stars 0 forks source link

Created plans are storing the current URL of the site #23

Open capynet opened 6 years ago

capynet commented 6 years ago

And this is a problem since I can install a new drupal with bar.com and if a plan been created at foo.com and I want use it at bar.com, the ok and ko URLs will be pointing to foo.com.

We need to check if the available plans should be filtered by site (from the drupal side) or if the plans (any plan) can be used on any site changing the URLs on the fly.

capynet commented 6 years ago

It can be accomplished on the agreement definition https://developer.paypal.com/docs/api/payments.billing-agreements#billing-agreements modifying the override_merchant_preferences