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't locate object method "checkout_url" via package "Business::cXML::Transmission" #3

Open
danimera opened this issue Jul 8, 2021 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@danimera
Copy link

danimera commented Jul 8, 2021

Just doing this sample

use Business::cXML;
my $cxml = new Business::cXML;
my $posr = $cxml->new_request('PunchOutSetup');
$posr->checkout_url = 'https://www.example.com/welcome_back';

got: Can't locate object method "checkout_url" via package "Business::cXML::Transmission"

@vphantom vphantom self-assigned this Jul 8, 2021
@vphantom
Copy link
Owner

vphantom commented Jul 8, 2021

I can confirm this here; my example might be outdated. I'll look into it.

@vphantom vphantom added the bug Something isn't working label Jul 8, 2021
@danimera
Copy link
Author

danimera commented Jul 8, 2021

I can confirm this here; my example might be outdated. I'll look into it.

Thanks,, I would like to work whit this module but I can not do work a simple request lol

@vphantom
Copy link
Owner

vphantom commented Jul 8, 2021

Yeah, I only used Business::cXML on the server side so far, so the client side didn't get as much attention. Shouldn't be too big an issue, we're looking at a …:Transmission instance whereas the example expects a …:Request::PunchOutSetup.

@danimera
Copy link
Author

danimera commented Jul 8, 2021

at lest , Can you send me a sample how to populate a request ? i want not to get this error:

validity error : Element PunchOutSetupRequest content does not follow the DTD, expecting (BuyerCookie , Extrinsic* , BrowserFormPost? , Contact* , SupplierSetup? , ShipTo? , SelectedItem? , ItemOut*), got validity error : Element PunchOutSetupRequest does not carry attribute operation validity error : Element PunchOutSetupRequest content does not follow the DTD, expecting (BuyerCookie , Extrinsic* , BrowserFormPost? , Contact* , SupplierSetup? , ShipTo? , SelectedItem? , ItemOut*), got validity error : Element PunchOutSetupRequest does not carry attribute operation

@vphantom vphantom added this to the v0.7 milestone Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants