cancel
Showing results for 
Search instead for 
Did you mean: 

REST API trial period regular payments

SOLVED
Highlighted
Member

REST API trial period regular payments

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

1 ACCEPTED SOLUTION

Accepted Solutions
Member

Re: REST API trial period regular payments

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

1 REPLY
Member

Re: REST API trial period regular payments

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