Skip to content

commit: make sure the start date is always next day or later#2

Open
tkawa wants to merge 1 commit into
mobalean:masterfrom
tkawa:master
Open

commit: make sure the start date is always next day or later#2
tkawa wants to merge 1 commit into
mobalean:masterfrom
tkawa:master

Conversation

@tkawa
Copy link
Copy Markdown

@tkawa tkawa commented Dec 27, 2011

against error "Subscription start date should be greater than current date" from PayPal


Thanks for your advice on Twitter a few days ago.
( https://twitter.com/mreinsch/status/150899036801609728 )
After that, I looked at requests to PayPal.
PROFILESTARTDATE(:start_date) parameter seems to accept only the date, ignoring the time.
So, this commit works in my environment.

against error "Subscription start date should be greater than current date" from PayPal
@mreinsch
Copy link
Copy Markdown
Member

Thanks for the pull requests. Just want to clarify that with just +10 minutes it didn't work correctly? We are using the +10 minutes solution in a different environment and that seems to work fine for us...

@tkawa
Copy link
Copy Markdown
Author

tkawa commented Dec 27, 2011

It didn't work with +10min.
I had been gradually increasing the offset +1h, +2h,...
Then the error goes away when the date changes.

I may be doing unusual usage.
Here's the code of the controllers.
https://gist.github.com/1522645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants