Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to make shipping address from data passed from PayPal, per spec #153

Merged
merged 14 commits into from
May 1, 2019

Conversation

dorianfm
Copy link
Contributor

@dorianfm dorianfm commented Dec 2, 2016

Fix to issue #152

@SalahAdDin
Copy link

Can i forked this in my fork? I update many things from paypal, but this guys doesn't want merge it.

SalahAdDin added a commit to SalahAdDin/django-oscar-paypal that referenced this pull request May 21, 2017
@dorianfm
Copy link
Contributor Author

Please do!

@SalahAdDin
Copy link

Ok, i did.

@codecov
Copy link

codecov bot commented Apr 10, 2019

Codecov Report

Merging #153 into master will decrease coverage by 0.62%.
The diff coverage is 4.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #153      +/-   ##
==========================================
- Coverage   76.62%   75.99%   -0.63%     
==========================================
  Files          43       43              
  Lines        1664     1679      +15     
==========================================
+ Hits         1275     1276       +1     
- Misses        389      403      +14
Impacted Files Coverage Δ
paypal/express/urls.py 100% <ø> (ø) ⬆️
paypal/express/views.py 66.79% <4.34%> (-3.79%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c55701b...225e8b5. Read the comment docs.

@dorianfm
Copy link
Contributor Author

dorianfm commented Apr 12, 2019 via email

@sasha0
Copy link
Member

sasha0 commented Apr 12, 2019

Ok, then the log message should be properly formatted.

@dorianfm
Copy link
Contributor Author

dorianfm commented Apr 15, 2019 via email

@sasha0
Copy link
Member

sasha0 commented Apr 15, 2019

That there is some happy text informing what the string is, eg logger.debug(Basket #%s - returning postage costs payload = ‘%s’ % basket.id, payload) following the format of other log messages in that view

Yep, this should be enough.

I’m happy to make changes, but I’d just be blindly making change after change without clearer guidance.

Right. I'll be more explicit next time. Thanks for your efforts to update this PR and for the contribution.

@dorianfm
Copy link
Contributor Author

dorianfm commented Apr 15, 2019 via email

@sasha0
Copy link
Member

sasha0 commented May 1, 2019

All's good, except the lint warning. Would you have chance to look at it? Otherwise, I'll fix it by myself.

Thanks for your efforts and time to update this PR!

@dorianfm
Copy link
Contributor Author

dorianfm commented May 1, 2019 via email

@sasha0
Copy link
Member

sasha0 commented May 1, 2019

E.g.:

flake8 paypal tests setup.py
paypal/express/views.py:408:9: F841 local variable 'country_code' is assigned to but never used
paypal/express/views.py:430:5: E303 too many blank lines (3)
paypal/express/views.py:485:69: W291 trailing whitespace

@dorianfm
Copy link
Contributor Author

dorianfm commented May 1, 2019 via email

@dorianfm
Copy link
Contributor Author

dorianfm commented May 1, 2019 via email

@sasha0
Copy link
Member

sasha0 commented May 1, 2019

Alright, we're good now.

@sasha0 sasha0 merged commit 87d3ae9 into django-oscar:master May 1, 2019
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.

3 participants