Hi, all!
I used InsertOrder sample with subtle changes - I used authorize.net module instead of the first module in array. Also I hardcoded ccNumber in payment details and order itself. Saving order with attached payment details went fine. But calling getOrder(orderId) right after orderId=saveOrder(order) returns order with paymentDetails == null.
If i get paymentDetails via kkEng.getPaymentDetails() i get paymentDetails, but ccNumber is null.
What am I doing wrong? Thanks!
The payment details object contains all of the information for actually making the payment through the payment gateway and isn't persisted. When you read back the order, you should get the ccNumber in the ccNumber attribute of the order. Don't you see it there ?
Yes, that's right, ccNumber is persisted in Order. Now I see, thanks.