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

Added url and image_url for a item #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EduartePaiva
Copy link

What does this PR do?

Added missing fields to a type

Where should the reviewer start?

comparing my change with paypal docs. I already triple checked it but feel free to check it again.
docs: https://developer.paypal.com/docs/api/orders/v2/#orders_create

How should this be manually tested?

By using those fields on a create order request

Any background context you want to provide?

When using CreateOrder we have PurchaseUnitRequest inside it a list of Items, according to paypal docs
this item can have a url, and a image_url

url:
The URL to the item being purchased. Visible to buyer and used in buyer experiences.

image_url:
The URL of the item's image.

When using CreateOrder we have PurchaseUnitRequest inside it
a list of Items, according to paypal docs
https://developer.paypal.com/docs/api/orders/v2/#orders_create

this item can have a url, and a image_url

url:
The URL to the item being purchased. Visible to buyer and used in buyer experiences.

image_url:
The URL of the item's image.
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.

1 participant