cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Subscription start date issue

lu_lu_
Contributor
Contributor

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.

 

subscriptionsubscription

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.

Login to Me Too
Who Me Too'd this topic