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

Can you create more or improve the examples please? #10

Open
Lydnasty opened this issue Nov 11, 2024 · 1 comment
Open

Can you create more or improve the examples please? #10

Lydnasty opened this issue Nov 11, 2024 · 1 comment

Comments

@Lydnasty
Copy link

I'm trying to implement your solution but the examples are quite abstract and I can't understand the whole process.

For example, in the PayExample.php you are creating a $sku but without a price; and the 3Ds data is missing in the customer's object.

I think it will help a lot if the examples are like the "request samples" of the API documentation.
https://docs.api.centrobill.com/#operation/pay

Thank you

@aiavorskii
Copy link
Collaborator

Hi, @Lydnasty!

To create SKU use this method https://readme.centrobill.com/reference/createproduct. Pay method won't create new SKU it uses existing one.

We will add some examples for pay requests with different SKUs. What other aspects do you also want to be more specific?
As for 3Ds data is missing in the customer's object what exactly are you refering to?

You can find complete information in our docs at https://readme.centrobill.com/docs and API reference on https://readme.centrobill.com/reference/

Thank you!

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

No branches or pull requests

2 participants