REST API trial period regular payments

edward33
Contributor
Contributor

Which parameters need to be set in "payment_definitions" array in order to clearly define Trial payment period and Regular payment period that is after Trial period?

Thanks

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

edward33
Contributor
Contributor

I found the answer: "payment_definitions": [{ "frequency_interval": 1, "amount": { "currency": "USD", "value": 0 }, "frequency": "Week", "cycles": 2, "type": "TRIAL", "name": "Two Weeks Free" }, { "frequency_interval": 1, "amount": { "currency": "USD", "value": 5.00 }, "frequency": "MONTH", "type": "REGULAR", "name": "Monthly Payment" } ] link: https://github.com/paypal/PayPal-PHP-SDK/issues/1032

View solution in original post

Login to Me Too
1 REPLY 1
Solved

edward33
Contributor
Contributor

I found the answer: "payment_definitions": [{ "frequency_interval": 1, "amount": { "currency": "USD", "value": 0 }, "frequency": "Week", "cycles": 2, "type": "TRIAL", "name": "Two Weeks Free" }, { "frequency_interval": 1, "amount": { "currency": "USD", "value": 5.00 }, "frequency": "MONTH", "type": "REGULAR", "name": "Monthly Payment" } ] link: https://github.com/paypal/PayPal-PHP-SDK/issues/1032

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.