Subscription start date issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi 👋🏻,
I currently develop an option to subscribe to my website and have created following subscription in sandbox:
{
"plan_id": "[my_plan_id]",
"quantity": "1",
"application_context": {
"brand_name": "test",
"user_action": "SUBSCRIBE_NOW",
"payment_method": {
"payer_selected": "PAYPAL",
"payee_preferred": "IMMEDIATE_PAYMENT_REQUIRED"
},
"return_url": "https://example.com/returnUrl",
"cancel_url": "https://example.com/cancelUrl"
}
}
Now i subscribe with my client test account to this subscription.
Everything works fine but the start time of the subscription i one day in the past.
The start time should be 24.05.2020 (because the default start time, if not set in json, should be the current date -pay pal api documentation).
Same problem if i set a value for the "start time" attribute.
Maybe its an issue with my timezone (UTC+2h, Germany) or i am missing something.
Please help and thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MTS-Aaron thank you for the reply 😊
I have already tried to set the start_time (with and without an timezone) of the subscription manually.
Same response (start_time) as with not setting it.
More Information:
Sandbox client account => timezone germany
Sandbox business account => timezone germany
Correct me if i'm wrong, but i think the api takes the given dat[Removed. Phone #s not permitted]00:00) throws away the time and substract 2 hours (because i'm 2 hours after UTC) <= If that makes any sense?! 😂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- Getting this error from paypal , popup closing automatically itself when it opens in SDKs
- PayPal Enhance, IPN, ThriveCart in NVP/SOAP APIs
- Website payment preferences, auto return stopped working with new subscription payment button in PayPal Payments Standard
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs